Skip to content

MonetJS 0.9.0 Alpha 3

Pre-release
Pre-release
Compare
Choose a tag to compare
@ulfryk ulfryk released this 19 Jun 20:41
· 129 commits to develop since this release
  • [enhancement] make .chain() compatible with Fantasy Land
  • [enhancement] make .map() compatible with Fantasy Land
  • [enhancement] make .equals() compatible with Fantasy Land
  • [enhancement] add lowercase factory functions to satisfy linters -- thanks to @LukaszTheProgrammer ( #107 )
    • Maybe.some(val) and Maybe.none()
    • Either.right(val) and Either.left(err)
  • [enhancement] make .ap() compatible with Fantasy Land and Ramda -- thanks to @char0n ( #112 )
  • [new] add .ap() to Identity (so it's copmpatible with FantasyLand) -- thanks to @char0n ( #121 )
  • [new] add .orNoneIf() (alias .orNothingIf()) to Maybe -- thanks to @emmanueltouzery ( #100 )
  • [new] add .fromFalsy() to Maybe static -- thanks to @kpudlik ( #98 )
  • [new] add .forEach() to Identity, Maybe, Either, Validation, List and NEL -- thanks to @emmanueltouzery ( #95 ). And:
    • .orElseRun() to Maybe
    • .forEachLeft() to Either
    • .forEachFail() to Validation
  • [new] add .contains() to Identity, Maybe, Either, Validation, List and NEL -- thanks to @emmanueltouzery ( #93 )
  • [new] add .find() to List and NEL -- thanks to @emmanueltouzery ( #90 )
  • [new] add .fold() as alias for .cata() to Either and Validation -- thanks to @Tbrisbane ( #82 )
  • [new] add .foldLeft() and .foldRight() to Maybe, Either, Validation, List and NEL -- thanks to @Tbrisbane ( #82 )
  • [new] add .orNull() to Maybe -- thanks to @emmanueltouzery ( #86 )
  • [fix] fix typings to work with --noImplicitAny
  • [fix] fix typings to work with --strictNullChecks -- thanks to @emmanueltouzery ( #86 )

ALPHA

API of alpha version is unstable - it may change a lot!