fp-ts
2.16.11 · 18 Aug 2025MIT6.2M / weekRepositorynpmAtom feed
Your version
2.16.11 is the newest release of 2.x.
In short
1 new2 changed
Release note
New Feature
Add
flatMaptoEitherIOEitherReaderReaderEitherReaderIOReaderTaskReaderTaskEitherStateReaderTaskEitherTaskEitherNonEmptyArrayReadonlyNonEmptyArrayTreeArrayIdentityIOIOOptionOptionReadonlyArrayStateTaskTaskOption
the gist is:
You can replace
chain/chainWwithflatMapYou can call
flatMapin 2 ways:pipe(ma, flatMap(f))(data-last, aka pipeable) orflatMap(ma, f)(data-first)