maybe_map_4: Apply a one-track function to 4 two-track arguments.

Description Usage Arguments Format Value See Also

Description

Similar to maybe_map but for input of four Maybe type values. Cannot use purrr-style lambdas (~ .x).

Usage

1
maybe_map_4(a, b, c, d, f)

Arguments

a

A Maybe (two-track) value.

b

A Maybe (two-track) value.

c

A Maybe (two-track) value.

d

A Maybe (two-track) value.

f

A function taking four non-Maybe (one-track) arguments and returning either a non-Maybe (one-track) value or a Maybe (two-track) value.

Format

maybe_map_4 :: Maybe a -> Maybe b -> Maybe c -> Maybe d -> (a -> b -> c -> d -> x) -> Maybe x

Value

A Maybe (two-track) value

See Also

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


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