maybe_apply: Apply a Maybe function to a Maybe argument

Description Usage Arguments Format Value See Also

Description

For handling instances where your code calls a function that was created by a generator (where the generator may not have returned a function).

Usage

1
maybe_apply(m, mf)

Arguments

m

A Maybe value.

mf

A Maybe function (i.e., there may or may not be a function).

Format

maybe_apply :: Maybe a -> (Maybe a -> Maybe b) -> Maybe b

Value

A Maybe value

See Also

Other Maybe functions: as_maybe, is_nothing, maybe_bind, maybe_default, maybe_map_2, maybe_map_3, maybe_map_4, maybe_map_5, maybe_map, maybe_then, maybes_collapse, maybes_partition


Teresa00/hfmAnnotation documentation built on May 14, 2019, 12:51 a.m.