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:Either
IO
IOEither
IOOption
Option
Reader
ReaderEither
ReaderIO
ReaderTask
ReaderTaskEither
State
StateReaderTaskEither
Task
TaskEither
TaskOption
- add
tapError
(dual) (akaorElseFirst
/orElseFirstW
) to:IOEither
ReaderEither
ReaderTaskEither
TaskEither
- add
flatMapNullable
(dual) to:Either
IOEither
ReaderEither
ReaderTaskEither
StateReaderTaskEither
TaskEither
- add
flatMapOption
(dual) to:Either
IOEither
ReaderEither
ReaderTaskEither
StateReaderTaskEither
TaskEither
- add
liftNullable
to:Either
IOEither
ReaderEither
ReaderTaskEither
StateReaderTaskEither
TaskEither
- add
liftOption
to:Either
IOEither
ReaderEither
ReaderTaskEither
StateReaderTaskEither
TaskEither
- add
flatMapEither
(dual) to:IOEither
ReaderEither
ReaderTaskEither
TaskEither
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
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)
2.13.2
2.13.1
- New Feature
- new modules:
ReaderIO
, #1738 (@sukovanej)
- do notation:
Alternative
- add
getAlternativeMonoid
, #1717 (@willheslam)
- add
function
flip
is now curried, #1748 (@thewilkybarkid)
pipeable
- add pipeable helpers, #1764 (@gcanti)
alt
ap
bimap
chain
compose
contramap
extend
filter
filterMap
filterMapWithIndex
filterWithIndex
foldMap
foldMapWithIndex
map
mapLeft
mapWithIndex
partition
partitionMap
partitionMapWithIndex
partitionWithIndex
promap
reduce
reduceRight
reduceRightWithIndex
reduceWithIndex
- add pipeable helpers, #1764 (@gcanti)
ReaderTask
- add
ReaderIO
constructors/combinators, #1773 (@thewilkybarkid)
- add
ReaderTaskEither
- add
ReaderIO
constructors/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:
FromIO
chainIOK
FromTask
chainTaskK
chainFirstTaskK
Whiterable
FilterE1
TheseT
both
Either
apFirstW
apSecondW
IOEither
apFirstW
apSecondW
Reader
apFirstW
apSecondW
ReaderEither
apFirstW
apSecondW
ReaderTaskEither
apFirstW
apSecondW
StateReaderTaskEither
apFirstW
apSecondW
TaskEither
apFirstW
apSecondW
Apply
- add
ap
overloadings, #1721 (@waynevanson)
- add
Either
- remove useless type parameter in
exists
(@gcanti)
- remove useless type parameter in
ReadonlyRecord
TaskEither
- fix
fromPredicate
signature (@gcanti)
- fix
These
Traversable
Writer
getChain
requires aSemigroup
instead of aMonoid
(@gcanti)
- Deprecation
function
- deprecate uncurried
flip
function, #1748 (@thewilkybarkid)
- deprecate uncurried