NOTE: this package is not compatible with Elm 0.19.1
Extensions so generic they just operate on functions.
Left-to-right composition of functions that rely on an environment.
Example:
quux (bar (foo model x) model) model
Becomes:
(foo >>> bar >>> quux) model x
The operator >>> mirrors Haskell's Control.Arrow, because really this is an arrow specialised to Reader.
>>>
Right-to-left composition of functions that rely on an environment.
Left-to-right composition of functions that rely on an environment.
Example:
Becomes:
The operator
>>>mirrors Haskell's Control.Arrow, because really this is an arrow specialised to Reader.