composing
Tools to compose functions
This library exports two macros, compose_expr
and compose_fn
,
which allow to easily compose expressions and functions respectively.
They both support right-to-left and left-to-right composition.
Examples
use *;
let composition = compose_fn!;
assert_eq!;
let composition = compose_fn!;
assert_eq!;