Skip to content

MonetJS 0.9.0 RC 0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ulfryk ulfryk released this 18 Jun 08:35
· 97 commits to develop since this release
  • [new] add from static constructor method to NEL and List
  • [fix] fix broken List.equals
  • [fix] re-add cons and snoc to NEL (fix join, also add/fix flatten and flattenMaybe to collections)
  • [fix] drop .contains() from Either and Validation
  • [new] implement Iterable for List, NEL, Maybe and Identity
  • [new] add .every(), .forall() and .exists() to List, NEL, Maybe and Identity
  • [new] add .toSet() to List and NEL
  • [new] add .toArray(), .toSet() to Maybe
  • [new] add .orUndefined(), .getOrElse(), .orLazy() to Maybe
  • [new] add .swap() to Validation and Either
  • [new] add .catchMap() to Maybe, Validation and Either
  • [enhancement] make Maybe types stricter (compile type check for use of nullables) -- thanks to @jleider ( #167 )
  • [enhancement] make .equals() compatible with other libraries
  • [new] add static .isOfType() and .isInstance() to all types
  • [new] add .fromUndefined() to Maybe static
  • [new] add .filterNot() to Maybe, List and NEL -- thanks to @tomecko ( #152 )