Typed functional composition in Dart.
C(initial value).x(first function).x(second function).execute(); C(5).x(addOne).execute();
Todo / might do later
- output a function
- define just a function
- Cannot implement the >> operator because operator generics are not possible in Dart at the moment
This is just a playful thing, nothing serious!