maybe_just_nothing 0.4.0-nullsafety copy "maybe_just_nothing: ^0.4.0-nullsafety" to clipboard
maybe_just_nothing: ^0.4.0-nullsafety copied to clipboard

outdated

Yet another variation of the good old Maybe monad with eager execution written in Dart.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased #

Changed #

  • Prepared for null safety

0.3.1 - 2020-07-20 #

Fixed #

  • README update

0.3.0 - 2020-07-20 #

Changed #

  • Allow map to return a null. Hence, the BC-breaking change in Just.map signature.

0.2.0 - 2020-07-11 #

Added #

  • Method fallback()
  • Equality operator support

Changed #

  • Method chain() now accepts a value instead of a function. The old method is available as fallback()

Removed #

  • Method filter()

0.1.9 - 2020-06-27 #

Changed #

  • ifPresent() and ifNothing() return Maybe

0.1.8 - 2020-06-13 #

Added #

  • const constructor to Nothing

0.1.7 - 2020-06-13 #

Changed #

  • Relaxed cast() type constraint

0.1.6 - 2020-06-13 #

Added #

  • chain() method

0.1.5 - 2020-06-13 #

Fixed #

  • "Future was not exported" in tests

0.1.4 - 2020-06-13 #

Changed #

  • Just and Nothing return more narrow types in certain cases

0.1.3 - 2020-06-13 #

Fixed #

  • Future was not exported

0.1.2 - 2020-06-13 #

Changed #

  • relaxed min Dart version to 2.0.0
  • minor readme fixes

0.1.1 - 2020-06-13 #

Added #

  • where is an alias for filter

0.1.0 - 2020-05-24 #

Added #

  • New methods: cast(), orAsync(), orGetAsync(), flatMap(), merge()

0.0.1 - 2020-05-23 #

Added #

  • Initial version.
7
likes
0
pub points
65%
popularity

Publisher

verified publisherkarapetov.com

Yet another variation of the good old Maybe monad with eager execution written in Dart.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on maybe_just_nothing