fn_compose 0.0.2 fn_compose: ^0.0.2 copied to clipboard
A typed way to compose functions in dart
fn_compose #
A typed functional composition in Dart.
Cannot implement the >> operator because operator generics are not possible in Dart at the moment
Examples #
C(initial value).x(first function).x(second function).execute();
C(5).x(addOne).execute();
Todo #
output a function define just a function
This is just a playful thing, nothing serious!