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

A typed way to compose functions in dart, this is works well when getting generic functional composition but it is born from my interest in trying to understand type safety, functional composition, da [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add fn_compose

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  fn_compose: ^0.1.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:fn_compose/compose.dart';
import 'package:fn_compose/composefn.dart';
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A typed way to compose functions in dart, this is works well when getting generic functional composition but it is born from my interest in trying to understand type safety, functional composition, dart and a little bit of fp(in dart!)

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on fn_compose