Backporting from effect/*
Author: gcantiCreated Apr 21, 2023Updated Sep 5, 2024
The following features can be backported without breaking changes:
2.14
flatMap(aka chain / chainW) https://github.com/gcanti/fp-ts/pull/1849
2.15
flatMap*(aka chain*K / chain*KW) https://github.com/gcanti/fp-ts/pull/1862tap(aka chainFirst / chainFirstW) https://github.com/gcanti/fp-ts/pull/1857tapError(aka orElseFirst / orElseFirstW) https://github.com/gcanti/fp-ts/pull/1858LazyArg(aka Lazy) https://github.com/gcanti/fp-ts/pull/1856
2.16
tapEither(dual) (akachainFirstEitherK/chainFirstEitherKW) https://github.com/gcanti/fp-ts/pull/1864tapIO(dual) (akachainFirstIOK) https://github.com/gcanti/fp-ts/pull/1865as/asUnithttps://github.com/gcanti/fp-ts/pull/1867tapTask(dual) (akachainFirstTaskK) https://github.com/gcanti/fp-ts/pull/1869mapError(dual) (akamapLeft) https://github.com/gcanti/fp-ts/pull/1870mapBoth(dual) (akabimap) https://github.com/gcanti/fp-ts/pull/1872tapReader(dual) (akachainFirstReaderK/chainFirstIReaderKW) https://github.com/gcanti/fp-ts/pull/1871tapReaderEither(dual) (akachainFirstReaderEitherK/chainFirstEitherKW) https://github.com/gcanti/fp-ts/pull/1873tapReaderIO(dual) (akachainFirstReaderIOK) https://github.com/gcanti/fp-ts/pull/1873tapReaderTask(dual) (akachainFirstReaderTaskK) https://github.com/gcanti/fp-ts/pull/1873tapTaskEither(dual) (akachainFirstTaskEitherK/chainFirstTaskEitherKW) https://github.com/gcanti/fp-ts/pull/1873flatMapReaderTask(dual) (akachainReaderTaskK/chainReaderTaskKW) https://github.com/gcanti/fp-ts/pull/1874flatMapTaskEither(dual) (akachainTaskEitherK/chainTaskEitherKW) https://github.com/gcanti/fp-ts/pull/1874flatMapIO(dual) (akachainIOK) https://github.com/gcanti/fp-ts/pull/1874Option.orElse(dual) (akaalt/altW) https://github.com/gcanti/fp-ts/pull/1868flatMapTask(dual) (akachainTaskK) https://github.com/gcanti/fp-ts/pull/1876flatMapReader(dual) (akachainReaderK/chainReaderKW) https://github.com/gcanti/fp-ts/pull/1876flatMapReaderIO(dual) (akachainReaderIOK/chainReaderIOKW) https://github.com/gcanti/fp-ts/pull/1879flatMap*(akachain*K/chain*KW) https://github.com/gcanti/fp-ts/pull/1880
2.17
- asUnit -> asVoid
TODO (Feel free to add a comment to this issue if you want to suggest any other backporting)
- ???
Source: gcanti/fp-ts