Releases: gcanti/fp-ts
Releases Β· gcanti/fp-ts
2.16.9
2.16.5
2.16.0
tapEither(dual) (akachainFirstEitherK/chainFirstEitherKW) #1864tapIO(dual) (akachainFirstIOK) #1865as/asUnit#1867tapTask(dual) (akachainFirstTaskK) #1869mapError(dual) (akamapLeft) #1870mapBoth(dual) (akabimap) #1872tapReader(dual) (akachainFirstReaderK/chainFirstIReaderKW) #1871tapReaderEither(dual) (akachainFirstReaderEitherK/chainFirstEitherKW) #1873tapReaderIO(dual) (akachainFirstReaderIOK) #1873tapReaderTask(dual) (akachainFirstReaderTaskK) #1873tapTaskEither(dual) (akachainFirstTaskEitherK/chainFirstTaskEitherKW) #1873flatMapReaderTask(dual) (akachainReaderTaskK/chainReaderTaskKW) #1874flatMapTaskEither(dual) (akachainTaskEitherK/chainTaskEitherKW) #1874flatMapIO(dual) (akachainIOK) #1874Option.orElse(dual) (akaalt/altW) #1868flatMapTask(dual) (akachainTaskK) #1876flatMapReader(dual) (akachainReaderK/chainReaderKW) #1876flatMapReaderIO(dual) (akachainReaderIOK/chainReaderIOKW) #1879flatMap*(akachain*K/chain*KW) #1880
2.15.0
New Feature
function- add
LazyArg
- add
- add
tap(dual) (akachainFirst/chainFirstW) to:EitherIOIOEitherIOOptionOptionReaderReaderEitherReaderIOReaderTaskReaderTaskEitherStateStateReaderTaskEitherTaskTaskEitherTaskOption
- add
tapError(dual) (akaorElseFirst/orElseFirstW) to:IOEitherReaderEitherReaderTaskEitherTaskEither
- add
flatMapNullable(dual) to:EitherIOEitherReaderEitherReaderTaskEitherStateReaderTaskEitherTaskEither
- add
flatMapOption(dual) to:EitherIOEitherReaderEitherReaderTaskEitherStateReaderTaskEitherTaskEither
- add
liftNullableto:EitherIOEitherReaderEitherReaderTaskEitherStateReaderTaskEitherTaskEither
- add
liftOptionto:EitherIOEitherReaderEitherReaderTaskEitherStateReaderTaskEitherTaskEither
- add
flatMapEither(dual) to:IOEitherReaderEitherReaderTaskEitherTaskEither
Array- add index to
flatMap
- add index to
NonEmptyArray- add index to
flatMap
- add index to
ReadonlyArray- add index to
flatMap
- add index to
ReadonlyNonEmptyArray- add index to
flatMap
- add index to
2.14.0
New Feature
- add
flatMaptoEitherIOEitherReaderReaderEitherReaderIOReaderTaskReaderTaskEitherStateReaderTaskEitherTaskEitherNonEmptyArrayReadonlyNonEmptyArrayTreeArrayIdentityIOIOOptionOptionReadonlyArrayStateTaskTaskOption
the gist is:
- you can replace
chain/chainWwithflatMap - you can call
flatMapin 2 ways:pipe(ma, flatMap(f))(data-last, aka pipeable) orflatMap(ma, f)(data-first)
2.13.2
2.13.1
- New Feature
- new modules:
ReaderIO, #1738 (@sukovanej)
- do notation:
Alternative- add
getAlternativeMonoid, #1717 (@willheslam)
- add
functionflipis now curried, #1748 (@thewilkybarkid)
pipeable- add pipeable helpers, #1764 (@gcanti)
altapbimapchaincomposecontramapextendfilterfilterMapfilterMapWithIndexfilterWithIndexfoldMapfoldMapWithIndexmapmapLeftmapWithIndexpartitionpartitionMappartitionMapWithIndexpartitionWithIndexpromapreducereduceRightreduceRightWithIndexreduceWithIndex
- add pipeable helpers, #1764 (@gcanti)
ReaderTask- add
ReaderIOconstructors/combinators, #1773 (@thewilkybarkid)
- add
ReaderTaskEither- add
ReaderIOconstructors/combinators, #1774 (@thewilkybarkid)
- add
TaskEither- add
chainTaskOptionKW, #1744 (@AmirabbasJ)
- add
- new modules:
- Polish
- backport from v3 some handy defaults defined in natural transformations/combinators/constructors (@gcanti)
- fix wrong type parameter order:
FromIOchainIOK
FromTaskchainTaskKchainFirstTaskK
WhiterableFilterE1
TheseTboth
EitherapFirstWapSecondW
IOEitherapFirstWapSecondW
ReaderapFirstWapSecondW
ReaderEitherapFirstWapSecondW
ReaderTaskEitherapFirstWapSecondW
StateReaderTaskEitherapFirstWapSecondW
TaskEitherapFirstWapSecondW
Apply- add
apoverloadings, #1721 (@waynevanson)
- add
Either- remove useless type parameter in
exists(@gcanti)
- remove useless type parameter in
ReadonlyRecordTaskEither- fix
fromPredicatesignature (@gcanti)
- fix
TheseTraversableWritergetChainrequires aSemigroupinstead of aMonoid(@gcanti)
- Deprecation
function- deprecate uncurried
flipfunction, #1748 (@thewilkybarkid)
- deprecate uncurried