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

Ultimate functional programming toolkit for Dart 3+ & Flutter. Option, Either, Result, Validation, IO, Task, TaskEither, Reader, Writer, State, function combinators and immutable helpers. A modern suc [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add fpkit

With Flutter:

 $ flutter pub add fpkit

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

dependencies:
  fpkit: ^0.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:fpkit/fpkit.dart';
1
likes
150
points
309
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Ultimate functional programming toolkit for Dart 3+ & Flutter. Option, Either, Result, Validation, IO, Task, TaskEither, Reader, Writer, State, function combinators and immutable helpers. A modern successor to dartz / fpdart built on sealed classes and pattern matching.

Repository (GitHub)
View/report issues

Topics

#functional #fp #monad #either #option

License

MIT (license)

More

Packages that depend on fpkit