The function to apply if maybe
is Nothing
.
The function to apply to the wrapped value if maybe
is
Just
The Maybe
instance to map over.
T The type of the wrapped value.
U The type of the wrapped value of the returned Maybe
.
Generated using TypeDoc
Map over a
Maybe
instance and get out the value ifmaybe
is aJust
, or use a function to construct a default value ifmaybe
isNothing
.Examples