Witchcraft v1.0.0 Witchcraft.Apply.Proto protocol View Source

Protocol for the Elixir.Witchcraft.Apply type class

For this type class’s API, please refer to Elixir.Witchcraft.Apply

Link to this section Summary

Functions

Pipe arguments to functions, when both are wrapped in the same type of data structure

Link to this section Types

Link to this section Functions

Pipe arguments to functions, when both are wrapped in the same type of data structure.

Examples

iex> [1, 2, 3]
...> |> convey([fn x -> x + 1 end, fn y -> y * 10 end])
[2, 10, 3, 20, 4, 30]