v0.7.5
·
145 commits
to master
since this release
- fixes #5: add
Option.try_
,Option.tryNullable
,Either.try_
thanks @davinkevin for the useful feedback & suggestions - add
Option.mapNullable
for a more handy workflow when working with code usingnull
to represent failure - add
Seq.scanLeft
andSeq.scanRight
- bugfix:
LinkedList.of()
andStream.of()
(without parameters) would return a list with a single item,undefined
. That call was impossible in typescript (wouldn't compile) but it was possible in javascript. Now it returns an empty list as you would expect, while retaining the intended feature, that if there are parameters, the compiler knows we're dealing with a non-empty list (thanks to typescript overloads).