View Source Quark.M (Quark v2.3.3-doma)

The self-applyication combinator

Link to this section Summary

Functions

m()

Apply a function to itself. Also aliased as self_apply.

Link to this section Functions

Apply a function to itself. Also aliased as self_apply.

examples

Examples

iex> add_one = fn x -> x + 1 end
...> add_two = m(add_one)
...> add_two.(8)
10
@spec m((... -> any())) :: (... -> any())

See Quark.M.m/0.

See Quark.M.m/1.