Witchcraft v0.3.0 Witchcraft.Functor.Operator
Summary
Functions
Alias for lift. As we’ll see with Witchcraft.Applicative,
this arrow points in the direction of data flow (just like |>), but we often
prefer the function on the left side
Alias for lift and <~, but with data flowing to the right
Functions
Specs
(any -> any) <~ any :: any
Alias for lift. As we’ll see with Witchcraft.Applicative,
this arrow points in the direction of data flow (just like |>), but we often
prefer the function on the left side.
iex> (&(&1 * 10)) <~ [1,2,3]
[10, 20, 30]