functional :: FlatMapIter :: try_compute_inner
Assigns null to inner if it fails.
inner
# Tries to resolve the inner iterator. # Assigns null to `inner` if it fails. protected fun try_compute_inner do inner = null if not my_iter.is_ok then return var res = f.call(my_iter.item) if res.is_ok then inner = res end