fn_compose 0.0.3 copy "fn_compose: ^0.0.3" to clipboard
fn_compose: ^0.0.3 copied to clipboard

outdated

A typed way to compose functions in dart

fn_compose #

Typed functional composition in Dart.

Examples #

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!

0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A typed way to compose functions in dart

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on fn_compose