2.14.0
New Feature
- add
flatMap
toEither
IOEither
Reader
ReaderEither
ReaderIO
ReaderTask
ReaderTaskEither
StateReaderTaskEither
TaskEither
NonEmptyArray
ReadonlyNonEmptyArray
Tree
Array
Identity
IO
IOOption
Option
ReadonlyArray
State
Task
TaskOption
the gist is:
- you can replace
chain
/chainW
withflatMap
- you can call
flatMap
in 2 ways:pipe(ma, flatMap(f))
(data-last, aka pipeable) orflatMap(ma, f)
(data-first)