Skip to content

Releases: monet/monet.js

MonetJS 0.9.0 Alpha 2

25 Oct 12:29
Compare
Choose a tag to compare
MonetJS 0.9.0 Alpha 2 Pre-release
Pre-release
  • [fix] fix List's .size() ( #79 )
  • [fix] fix List's .map ( #64 )

ALPHA

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

MonetJS 0.9.0 Alpha 1

24 Oct 21:13
Compare
Choose a tag to compare
MonetJS 0.9.0 Alpha 1 Pre-release
Pre-release
  • [fix] fix Free monad

ALPHA

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

MonetJS 0.9.0 Alpha 0

24 Oct 10:08
Compare
Choose a tag to compare
MonetJS 0.9.0 Alpha 0 Pre-release
Pre-release
  • [new] .equals() method added to most entities
  • [breaking] all native prototype extentions extracted to monet-pimp.js
  • [enhancement] typings compatible with TS2.x
  • [fix] updated module pattern

ALPHA

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

Few fixes

25 Apr 07:09
Compare
Choose a tag to compare
  • [fix] Fixed bower.json issues ( #51 )
  • [fix] Fixed internal curry implementation ( #55 )

Typings and fixes

19 Apr 06:03
Compare
Choose a tag to compare
  • [new] add TypeScript typings
  • [new] add .ap() to List, Free and NonEmptyList -- thanks to @WojciechP ( #44 )
  • [new] add "use strict"; -- thanks to @krjackso ( #41 )

Typings

TypeScript typings added to repository, so now anyone can:

import { Maybe } from 'monet';

export function getStoredData(key: string): Maybe<SomeData> {
  return Maybe.fromNull(localStorage)
    .flatMap(ls => Maybe.fromNull(ls.getItem(key)))
    .map(JSON.parse);
}

Bug fixes

27 Jan 21:37
Compare
Choose a tag to compare

Added cata to Maybe -- thanks to Crisson Jno-Charles @crisson

Reader and IO .of() fixed

19 Apr 08:11
Compare
Choose a tag to compare

Thanks to @raine and @joneshf for pointed out the folly of the implementation for .of() for Reader (and IO).

This means lazySequence is no longer needed and has been removed.

reduceLeft for NonEmptyLists

15 Dec 23:33
Compare
Choose a tag to compare

foldRight implemented for NonEmptyList

15 Dec 05:50
Compare
Choose a tag to compare

Bug fix

11 Dec 05:51
Compare
Choose a tag to compare

Fix from @crisson for converting from Either to Validation and Maybe.