Changelog
2.10.3
StateReaderTaskEither
traverseArrayWithIndex
does not pass the output state from each step to the subsequent step, #1486Changelog
2.10.2
Record
hasOwnProperty
should be an alias of ReadonlyRecord.hasOwnProperty
Changelog
2.10.0
pipeable
module, use the specific helpers insteadValidationT
module, use EitherT
insteadApplicative
getApplicativeComposition
, use ap
helper insteadArray
prependToAll
, use prependAll
insteadcons
in favour of prepend
snoc
in favour of append
empty
BooleanAlgebra
booleanAlgebraBoolean
, use boolean.BooleanAlgebra
insteadgetFunctionBooleanAlgebra
, use function.getBooleanAlgebra
insteadgetDualBooleanAlgebra
, use reverse
insteadBounded
boundedNumber
, use number.Bounded
insteadChoice
splitChoice
in favour of split
fanin
in favour of fanIn
Compactable
getCompactableComposition
, use compact
, separate
helpers insteadSeparated
, use Separated.Separated
insteadEither
getApplySemigroup
in favour of Apply.getApplySemigroup
getApplyMonoid
in favour of Applicative.getApplicativeMonoid
getValidationSemigroup
in favour of Apply.getApplySemigroup
getValidationMonoid
in favour of Applicative.getApplicativeMonoid
getValidation
, use getApplicativeValidation
and getAltValidation
insteadJson
type, use the Json
module insteadparseJSON
type, use the Json
module insteadstringifyJSON
type, use the Json
module insteadEq
eqBoolean
, use boolean.Eq
insteadeqString
, use string.Eq
insteadeqNumber
, use number.Eq
insteadeqDate
, use Date.Eq
insteadgetStructEq
, use struct
insteadgetTupleEq
, use tuple
insteadFilterable
getFilterableComposition
, use filter
, filterMap
, partition
, partitionMap
helpers insteadFoldable
toArray
in favour of toReadonlyArray
getFoldableComposition
, use reduce
, foldMap
, reduceRight
helpers insteadFoldableWithIndex
getFoldableWithIndexComposition
, use reduceWithIndex
, foldMapWithIndex
, reduceRightWithIndex
helpers insteadFunctor
getFunctorComposition
, use map
helper insteadFunctorWithIndex
getFunctorWithIndexComposition
, use mapWithIndex
helper insteadIO
getSemigroup
in favour of Apply.getApplySemigroup
getMonoid
in favour of Applicative.getApplicativeMonoid
fromIO
IOEither
getApplySemigroup
in favour of Apply.getApplySemigroup
getApplyMonoid
in favour of Applicative.getApplicativeMonoid
getSemigroup
in favour of Apply.getApplySemigroup
getIOValidation
, use getApplicativeIOValidation
and getAltIOValidation
insteadMap
insertAt
in favour of upsertAt
empty
Monoid
monoidAll
, use boolean.MonoidAll
insteadmonoidAny
, use boolean.MonoidAny
insteadgetFunctionMonoid
, use function.getMonoid
insteadgetEndomorphismMonoid
, use function.getEndomorphismMonoid
instead (Note. The execution order in
function.getEndomorphismMonoid
is reversed)monoidString
, use string.Monoid
insteadmonoidSum
, use number.MonoidSum
insteadmonoidProduct
, use number.MonoidProduct
insteadfold
, use concatAll
insteadgetMeetMonoid
, use min
insteadgetJoinMonoid
, use max
insteadgetDualMonoid
, use reverse
insteadgetStructMonoid
, use struct
insteadgetTupleMonoid
, use tuple
insteadNonEmptyArray
fold
, use concatAll
insteadprependToAll
, use prependAll
insteadcons
in favour of prepend
snoc
in favour of append
uncons
in favour of unprepend
unsnoc
in favour of unappend
filter
in favour of Array
's filter
filterWithIndex
in favour of Array
's filterWithIndex
Option
getApplySemigroup
in favour of Apply.getApplySemigroup
getApplyMonoid
in favour of Applicative.getApplicativeMonoid
Ord
ordBoolean
, use boolean.Ord
insteadordString
, use string.Ord
insteadordNumber
, use number.Ord
insteadordDate
, use Date.Ord
insteadgetDualOrd
, use reverse
insteadgetTupleOrd
, use tuple
insteadOrdering
eqOrdering
, use Eq
insteadmonoidOrdering
, use Monoid
insteadinvert
in favour of reverse
Ring
getFunctionRing
, use function.getRing
insteadReader
getSemigroup
in favour of Apply.getApplySemigroup
getMonoid
in favour of Applicative.getApplicativeMonoid
ReaderEither
getApplySemigroup
in favour of Apply.getApplySemigroup
getApplyMonoid
in favour of Applicative.getApplicativeMonoid
getSemigroup
in favour of Apply.getApplySemigroup
getReaderValidation
, use getApplicativeReaderValidation
and getAltReaderValidation
insteadlocal
, Use Reader
's local
insteadReaderTask
getSemigroup
in favour of Apply.getApplySemigroup
getMonoid
in favour of Applicative.getApplicativeMonoid
run
local
, Use Reader
's local
insteadReaderTaskEither
getApplySemigroup
in favour of Apply.getApplySemigroup
getApplyMonoid
in favour of Applicative.getApplicativeMonoid
getSemigroup
in favour of Apply.getApplySemigroup
getReaderTaskValidation
, use getApplicativeReaderTaskValidation
and getAltReaderTaskValidation
insteadrun
local
, Use Reader
's local
insteadReaderTaskEither
run
ReadonlyArray
prependToAll
, use prependAll
insteadcons
in favour of prepend
snoc
in favour of append
ReadonlyNonEmptyArray
fold
, use concatAll
insteadprependToAll
, use prependAll
insteadinsertAt
, Use ReadonlyArray
's insertAt
insteadcons
in favour of prepend
snoc
in favour of append
uncons
in favour of unprepend
unsnoc
in favour of unappend
filter
in favour of ReadonlyArray
's filter
filterWithIndex
in favour of ReadonlyArray
's filterWithIndex
ReadonlyMap
insertAt
in favour of upsertAt
ReadonlyRecord
hasOwnProperty
, use has
insteadinsertAt
in favour of upsertAt
ReadonlySet
fromArray
in favour of fromReadonlyArray
ReadonlyTuple
mapLeft
in favour of mapSnd
map
in favour of mapFst
Record
hasOwnProperty
, use has
insteadinsertAt
in favour of upsertAt
empty
Ring
getTupleRing
, use tuple
insteadSemigroup
semigroupAll
, use boolean.SemigroupAll
insteadsemigroupAny
, use boolean.SemigroupAny
insteadgetFunctionSemigroup
, use function.getSemigroup
insteadsemigroupString
, use string.Semigroup
insteadsemigroupSum
, use number.SemigroupSum
insteadsemigroupProduct
, use number.SemigroupProduct
insteadfold
, use concatAll
insteadgetIntercalateSemigroup
, use intercalate
insteadgetMeetSemigroup
, use min
insteadgetJoinSemigroup
, use max
insteadgetDualSemigroup
, use reverse
insteadgetStructSemigroup
, use struct
insteadgetTupleSemigroup
, use tuple
insteadgetFirstSemigroup
, use first
insteadgetLastSemigroup
, use last
insteadgetObjectSemigroup
, use assign
insteadSet
subset
in favour of isSubset
Show
showBoolean
, use boolean.Show
insteadshowString
, use string.Show
insteadshowNumber
, use number.Show
insteadgetStructShow
, use struct
insteadgetTupleShow
, use tuple
insteadStrong
splitStrong
in favour of split
fanout
in favour of fanOut
Task
getSemigroup
in favour of Apply.getApplySemigroup
getMonoid
in favour of Applicative.getApplicativeMonoid
fromTask
TaskEither
getApplySemigroup
in favour of Apply.getApplySemigroup
getApplyMonoid
in favour of Applicative.getApplicativeMonoid
getSemigroup
in favour of Apply.getApplySemigroup
getTaskValidation
, use getApplicativeTaskValidation
and getAltTaskValidation
insteadTaskThese
functorTaskThese
instance in favour of Functor
bifunctorTaskThese
instance in favour of Bifunctor
getSemigroup
in favour of Apply.getApplySemigroup
toTuple
in favour of toTuple2
These
toTuple
in favour of toTuple2
Traversable
getTraversableComposition
, use traverse
, sequence
helpers insteadTuple
mapLeft
in favour of mapSnd
map
in favour of mapFst
Pointed
type classFromEither
type classFromIO
type classFromTask
type classTaskOption
modulestring
modulenumber
moduleSeparated
module (@YBogomolov)Json
moduleApply
ap
helperapS
helperapFirst
helperapSecond
helpergetApplySemigroup
Applicative
getApplicativeMonoid
Array
Pointed
instanceApply
instancematchLeft
aliasmatchRight
aliassize
unsafeInsertAt
signaturechunksOf
signaturegetSemigroup
boolean
foldW
match
aliasmatchW
aliasEq
instanceBooleanAlgebra
instanceSemigroupAll
instanceSemigroupAny
instanceMonoidAll
instanceMonoidAny
instanceOrd
instanceShow
instanceBooleanAlgebra
reverse
Chain
bind
helperchainFirst
helperCompactable
compact
helperseparate
helperseparated
constructorDate
Eq
instanceOrd
instanceFilterable
filter
helperfilterMap
helperpartition
helperpartitionMap
helperFoldable
reduce
helperfoldaMap
helperreduceRight
helperFoldableWithIndex
reduceWithIndex
helperfoldaMapWithIndex
helperreduceRightWithIndex
helperfunction
getBooleanAlgebra
getSemigroup
getMonoid
getSemiring
getRing
getEndomorphismMonoid
Functor
map
helperbindTo
helperflap
derivable, #1393 (@williamareynolds)FunctorWithIndex
mapWithIndex
helperEither
Pointed
instanceApply
instancegetCompactable
getFilterable
FromEither
instancetoUnion
, closes #1362foldW
match
aliasmatchW
aliasorElseW
tryCatchK
fromOptionK
chainOptionK
EitherT
getEitherM
into separated functionsEq
getSemigroup
struct
tuple
Identity
Pointed
instanceApply
instanceIO
Pointed
instanceApply
instanceFromIO
instanceIOEither
Pointed
instancegetCompactable
FromIO
instanceFromEither
instancetryCatchK
combinatortoUnion
foldW
match
aliasmatchW
aliasorElseW
fromOptionK
chainOptionK
Map
filterWithIndex
combinatorfilterMapWithIndex
combinatorpartitionWithIndex
combinatorpartitionMapWithIndex
combinatorgetTraversableWithIndex
instancegetFoldableWithIndex
instanceMonoid
concatAll
min
max
reverse
struct
tuple
NonEmptyArray
Pointed
instanceApply
instanceconcatAll
isNonEmpty
guardfromReadonlyNonEmptyArray
constructorchainWithIndex
combinatorchop
splitAt
chunksOf
Option
Pointed
instanceApply
instancefoldW
match
aliasmatchW
aliastryCatchK
OptionT
getOptionM
into separated functionsOrd
equalsDefault
reverse
tuple
Ordering
Eq
instanceSemigroup
instanceMonoid
instancematch
Random
randomElem
Reader
Pointed
instanceApply
instancefirst
, second
, left
, right
ReaderT
getReaderM
into separated functionsReaderEither
Pointed
instanceApply
instanceFromEither
instancegetCompactable
getFilterable
toUnion
foldW
match
aliasmatchW
aliasorElseW
fromOptionK
chainOptionK
ReaderTask
Pointed
instanceApplyPar
instanceApplySeq
instanceFromIO
instanceFromTask
instancetraverseSeqArrayWithIndex
traverseSeqArray
sequenceSeqArray
Chain
instanceMonad
instanceMonadIO
instanceMonadTask
instanceReaderTaskEither
Pointed
instanceApplyPar
instanceApplySeq
instanceFromIO
instanceFromTask
instanceFromEither
instancegetCompactable
getFilterable
toUnion
foldW
match
aliasmatchW
aliasorElseW
fromOptionK
chainOptionK
Chain
instanceMonad
instanceMonadIO
instanceMonadTask
instanceMonadThrow
instanceReadonlyArray
Pointed
instanceApply
instancegetSemigroup
matchLeft
instancematchRight
instancesize
unsafeInsertAt
signaturechunksOf
signature, closes #1407ReadonlyMap
filterWithIndex
combinatorfilterMapWithIndex
combinatorpartitionWithIndex
combinatorpartitionMapWithIndex
combinatorgetFunctorWithIndex
getFoldable
getFoldableWithIndex
getTraversable
getTraversableWithIndex
ReadonlyNonEmptyArray
Pointed
instanceApply
instanceconcatAll
isNonEmpty
chainWithIndex
chop
splitAt
chunksOf
ReadonlySet
isEmpty
size
toggle
Ring
tuple
Set
isEmpty
size
Semigroup
constant
concatAll
intercalate
min
max
struct
tuple
first
last
assign
Show
struct
tuple
State
Pointed
instanceApply
instanceStateT
getStateM
into separated functionsStateReaderTaskEither
Pointed
instanceApply
instanceMonad
instanceFromIO
instanceFromTask
instanceFromEither
instancefromOptionK
chainOptionK
MonadIO
instanceMonadTask
instanceMonadThrow
instanceTask
Pointed
instanceApplyPar
instanceApplySeq
instanceFromIO
instanceFromTask
instanceChain
instanceMonad
instanceMonadIO
instanceMonadTask
instanceTaskEither
Pointed
instanceApplyPar
instanceApplySeq
instancegetCompactable
FromIO
instanceFromTask
instanceFromEither
instancetoUnion
foldW
match
aliasmatchW
aliasorElseW
fromOptionK
chainOptionK
Chain
instanceMonad
instanceMonadIO
instanceMonadTask
instanceMonadThrow
instanceTaskThese
Functor
instancePointed
instanceBifunctor
instancetoTuple2
getApply
FromIO
instanceFromTask
instancefromEither
functionFromEither
instancegetChain
instancefoldW
match
aliasmatchW
aliasfromOption
fromOptionK
fromPredicate
These
Pointed
instanceof
functiongetApply
toTuple2
FromEither
instancefromOption
constructorfoldW
match
aliasmatchW
aliasfromOptionK
TaskOption
Chain
instanceMonad
instanceTheseT
getTheseM
into separated functionsTraversable
traverse
helpersequence
helperTree
Pointed
instanceApply
instanceWriter
getPointed
getApply
getApplicative
getChain
ReadonlyRecord
/ Record
: remove extends string
constraints in singleton
/ insertAt
, closes #1413TaskOption
getOrElseW
signatureinternal
modulebindTo
, bind
, bindW
, apS
, apSW
is now correctly readonly
FromEither
type parameter orderArray
/ ReadonlyArray
some
, #1424 (@thewilkybarkid)matchLeft
, matchRight
type parameter orderEitherT
Kind2
, Kind3
, Kind4
OptionT
Kind2
, Kind3
, Kind4
ReaderT
Kind2
, Kind3
, Kind4
ReadonlyMap
getShow
ReadonlySet
getShow
StateT
Kind2
, Kind3
TheseT
Kind2
, Kind3
, Kind4
Changelog
2.10.0-rc.8
bindTo
, bind
, bindW
, apS
, apSW
is now correctly readonly
FromEither
type parameter orderChangelog
2.10.0-rc.7
2.10.0-rc
)
object
to struct
Changelog
2.10.0-rc.6
ReadonlyNonEmptyArray
NonEmptyArray
, closes #14432.10.0-rc
)
EitherT
match
to matchE
and add match
IOEither
match
/ matchW
to matchE
/ matchWE
and add match
/ matchW
OptionT
match
to matchE
and add match
ReaderEither
match
/ matchW
to matchE
/ matchWE
and add match
/ matchW
ReaderTaskEither
match
/ matchW
to matchE
/ matchWE
and add match
/ matchW
TheseT
match
to matchE
and add match
TaskEither
match
/ matchW
to matchE
/ matchWE
and add match
/ matchW
TaskOption
match
/ matchW
to matchE
/ matchWE
and add match
/ matchW
TaskThese
match
/ matchW
to matchE
/ matchWE
and add match
/ matchW
Changelog
2.10.0-rc.5
TaskOption
getOrElseW
signature2.10.0-rc
)
OptionT
none
to zero
and change signatureReaderT
ask
, asks
(they will be derived from the FromReader
type-class in 2.11
)Semigroup
assign
to object
module and rename to getAssignSemigroup
ReaderT
get
, put
, modify
, gets
(they will be derived from the FromState
type-class in 2.11
)Tuple
mapLeft
in favour of mapSnd
map
in favour of mapFst
ReadonlyTuple
mapLeft
in favour of mapSnd
map
in favour of mapFst
Array
/ ReadonlyArray
some
, #1424 (@thewilkybarkid)matchLeft
, matchRight
type parameter orderEitherT
Kind2
, Kind3
, Kind4
OptionT
Kind2
, Kind3
, Kind4
ReaderT
Kind2
, Kind3
, Kind4
ReadonlyMap
getShow
ReadonlySet
getShow
StateT
Kind2
, Kind3
TheseT
Kind2
, Kind3
, Kind4
internal
moduleChangelog
2.10.0-rc.4
Array
empty
Map
empty
NonEmptyArray
filter
in favour of Array
's filter
filterWithIndex
in favour of Array
's filterWithIndex
ReadonlyNonEmptyArray
filter
in favour of ReadonlyArray
's filter
filterWithIndex
in favour of ReadonlyArray
's filterWithIndex
Record
empty
NonEmptyArray
append
, prepend
, isNonEmpty
ReadonlyNonEmptyArray
append
, prepend
, isNonEmpty