Description Usage Arguments Format Value See Also
Similar to maybe_map but for input of two Maybe type values. Cannot use purrr-style lambdas (~ .x).
1 | maybe_map_2(a, b, f)
|
a |
A Maybe (two-track) value. |
b |
A Maybe (two-track) value. |
f |
A function taking two non-Maybe (one-track) arguments and returning either a non-Maybe (one-track) value or a Maybe (two-track) value. |
maybe_map_2 :: Maybe a -> Maybe b -> (a -> b -> c) -> Maybe c
A Maybe (two-track) value
Other Maybe functions: as_maybe,
is_nothing, maybe_apply,
maybe_bind, maybe_default,
maybe_map_3, maybe_map_4,
maybe_map_5, maybe_map,
maybe_then, maybes_collapse,
maybes_partition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.