Description Usage Arguments Format Value See Also
Collapse a list of "Maybe a" type values into a list of "a" type values. If any element of the list is an Nothing type value, return the Nothing.
1 | maybes_collapse(maybes)
|
maybes |
A list of "Maybe a" type values |
maybes_collapse :: List (Maybe a) -> Maybe (List a)
Either Just(List a) type values or Nothing()
Other Maybe functions: as_maybe
,
is_nothing
, maybe_apply
,
maybe_bind
, maybe_default
,
maybe_map_2
, maybe_map_3
,
maybe_map_4
, maybe_map_5
,
maybe_map
, maybe_then
,
maybes_partition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.