maybe package:strict-base-types

Given a default value, a function and a Maybe value, yields the default value if the Maybe value is Nothing and applies the function to the value stored in the Just otherwise.
The type of strict optional values.
Analogous to maybeToList in Data.Maybe.
Analogous to catMaybes in Data.Maybe.
Given a default value and a Maybe, yield the default value if the Maybe argument is Nothing and extract the value out of the Just otherwise.
Analogous to listToMaybe in Data.Maybe.
Analogous to mapMaybe in Data.Maybe.