either_option 0.0.1 copy "either_option: ^0.0.1" to clipboard
either_option: ^0.0.1 copied to clipboard

outdated

The simple library for Error Handling with functionnal programming concept.

either_option #

either_option is a simple library typed for easy and safe error handling with functional programming style in Dart. It aims to allow flutter/dart developpers to use the 2 most popular patterns and abstractions : Either and Option, mainly used in FP language like Scala, Haskell, OCaml,...

Installation #

In your pubspec.yaml dependencies add

    either_option ^0.0.1

Example #

Uncomment lines in files repository.dart and either_option_example.dart. I did this to don't add unecessary http dependencies just for 1 example.

Tests #

41
likes
40
points
1.29k
downloads

Publisher

unverified uploader

Weekly Downloads

The simple library for Error Handling with functionnal programming concept.

Repository (GitHub)

License

MIT (license)

Dependencies

test

More

Packages that depend on either_option