Releases: monet/monet.js
Releases · monet/monet.js
MonetJS 0.9.0 Alpha 2
MonetJS 0.9.0 Alpha 1
- [fix] fix Free monad
ALPHA
API of alpha
version is unstable - it may change a lot!
MonetJS 0.9.0 Alpha 0
- [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
Typings and fixes
- [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
Reader and IO .of() fixed
reduceLeft for NonEmptyLists
0.8.5 0.8.5
foldRight implemented for NonEmptyList
0.8.4 0.8.4