You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have not heard of much need for a function like this, and as it's easy enough to just write Option.merge a b ~f |> Option.value ~default, we would rather not clutter Base with an extra function. I'm closing this issue for now, feel free to re-open it if you have a strong argument for adding it.
As with
Option.map
vsOption.value_map
, it'd be useful (albeit rarely!) to have avalue_merge
function:I know, I know, I can do
Option.merge a b ~f |> Option.value ~default
but wanted to throw it out there.The text was updated successfully, but these errors were encountered: