Do<A> function
Implementation
Option<A> Do<A>(DoFunction<A> f) {
try {
return some(f(_doAdapter));
} on None catch (_) {
return kNone;
}
}
Option<A> Do<A>(DoFunction<A> f) {
try {
return some(f(_doAdapter));
} on None catch (_) {
return kNone;
}
}