Changelog
2.11.1
Array
range
, use NonEmptyArray
module instead.function
Endomorphism
, use Endomorphism
module instead.getEndomorphismMonoid
, use Endomorphism
module instead.Predicate
, use Predicate
module instead.not
, use Predicate
module instead.Refinement
, use Refinement
module instead.Monoid
monoidVoid
, use void
module instead.NonEmptyArray
groupSort
(it's just sort
followed by group
)Option
getRefinement
, use Refinement
module instead.getFirstMonoid
, use getMonoid
module instead.getLastMonoid
, use getMonoid
module instead.ReadonlyArray
range
, use ReadonlyNonEmptyArray
module instead.ReadonlyNonEmptyArray
groupSort
(it's just sort
followed by group
)Record
/ ReadonlyRecord
: deprecate overloads without Ord
constraint (@anthonyjoeseph):
collect
reduce
foldMap
reduceRight
reduceWithIndex
foldMapWithIndex
reduceRightWithIndex
getShow
Foldable
in favour of getFoldable
(@anthonyjoeseph)FoldableWithIndex
in favour of getFoldableWithIndex
(@anthonyjoeseph)Traversable
in favour of getTraversable
(@anthonyjoeseph)TraversableWithIndex
in favour of getTraversableWithIndex
(@anthonyjoeseph)Witherable
in favour of getWitherable
(@anthonyjoeseph)Semigroup
semigroupVoid
, use void
module instead.Endomorphism
modulePredicate
moduleRefinement
moduleFromState
moduleFromThese
modulevoid
moduleFromReader
moduleNaturalTransformation
moduleZero
moduleAlt
altAll
Alternative
altAll
Array
prependW
, appendW
(@thewilkybarkid)fromOption
, fromPredicate
(@cdimitroulas)filterE
ChainRecDepthFirst
instance (@qlonik)chainRecDepthFirst
ChainRecBreadthFirst
instance (@qlonik)chainRecBreadthFirst
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
fromEither
FromEither
instancefromEitherK
isEmpty
a user defined guardconcat
/ concatW
match
, matchW
, matchLeftW
, matchRightW
fromOptionK
Zero
instanceguard
constructorexists
aliasboolean
isBoolean
Either
chainOptionK
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
EitherT
orElseFirst
orLeft
function
SK
(@cdimitroulas)apply
IO
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
IOEither
orElseFirst
/ orElseFirstW
orLeft
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
Magma
reverse
filterFirst
filterSecond
endo
concatAll
Map
union
intersection
difference
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
getFoldable
foldMap
reduceRight
reduceWithIndex
foldMapWithIndex
reduceRightWithIndex
NonEmptyArray
matchLeft
, matchRight
, modifyHead
, modifyLast
(@cdimitroulas)union
getUnionSemigroup
makeBy
range
concat
pipeablenumber
MagmaSub
isNumber
string
isString
Option
FromEither
instancefromEitherK
chainEitherK
Zero
instanceguard
constructortraverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
Ord
trivial
instanceequals
Reader
asksReaderW
, asksReader
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
ReaderEither
asksReaderEitherW
, asksReaderEither
orElseFirst
/ orElseFirstW
orLeft
chainReaderKW
chainFirstReaderK
, chainFirstReaderKW
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
ReaderTask
asksReaderTaskW
, asksReaderTask
chainReaderKW
chainFirstReaderK
, chainFirstReaderKW
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
ReaderTaskEither
asksReaderTaskEitherW
, asksReaderTaskEither
orElseFirst
/ orElseFirstW
orLeft
fromReaderTaskK
fromReaderEitherK
chainReaderKW
chainReaderTaskK
, chainReaderTaskKW
chainFirstReaderK
, chainFirstReaderKW
chainFirstReaderTaskK
, chainFirstReaderTaskKW
chainReaderEitherK
, chainReaderEitherKW
chainFirstReaderEitherK
, chainFirstReaderEitherKW
chainFirstTaskEitherK
, chainFirstTaskEitherKW
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
ReadonlyArray
prependW
, appendW
(@thewilkybarkid)filterE
ChainRecDepthFirst
instance (@qlonik)chainRecDepthFirst
ChainRecBreadthFirst
instance (@qlonik)chainRecBreadthFirst
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
fromOption
fromPredicate
fromEither
FromEither
instancefromEitherK
isEmpty
a user defined guardconcat
/ concatW
match
, matchW
, matchLeftW
, matchRightW
fromOptionK
Zero
instanceguard
constructorexists
aliasReadonlyMap
union
intersection
difference
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
reduce
foldMap
reduceRight
reduceWithIndex
foldMapWithIndex
reduceRightWithIndex
ReadonlyNonEmptyArray
matchLeft
, matchRight
, modifyHead
, modifyLast
(@cdimitroulas)union
getUnionSemigroup
makeBy
range
concat
pipeableReadonlyRecord
union
(@anthonyjoeseph)intersection
(@anthonyjoeseph)difference
(@anthonyjoeseph)getUnionSemigroup
(@anthonyjoeseph)getUnionMonoid
(@anthonyjoeseph)getIntersectionSemigroup
(@anthonyjoeseph)getDifferenceMagma
(@anthonyjoeseph)ReadonlySet
getUnionSemigroup
getDifferenceMagma
Record
union
intersection
difference
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
Set
getUnionSemigroup
getDifferenceMagma
State
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
StateReaderTaskEither
fromStateK
chainStateK
local
asksStateReaderTaskEitherW
, asksStateReaderTaskEither
chainReaderKW
chainFirstReaderK
, chainFirstReaderKW
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
string
toUpperCase
toLowerCase
replace
split
trim
trimLeft
trimRight
includes
startsWith
endsWith
slice
struct
evolve
Task
ApT
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
TaskEither
fromTaskOption
(@thewilkybarkid)fromTaskOptionK
chainTaskOptionK
orElseFirst
/ orElseFirstW
orLeft
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
TaskOption
fromTaskEither
(@thewilkybarkid)Zero
instanceguard
constructortraverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
FromEither
instanceTaskThese
ApT
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
These
elem
exists
ApT
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
Tree
exists
Witherable
filterE
, #1458 (@vinassefranche)wiltDefault
witherDefault
Either
isLeft
isRight
Option
isNone
These
isLeft
isRight
Changelog
2.11.0-rc.2
string
split
now returns a ReadonlyNonEmptyArray
TaskOption
FromEither
instance2.11.0-rc.1
caused type inference issues
Array
/ ReadonlyArray
isOutOfBound
signature changeisEmpty
signature changesize
signature changeEither
exists
signature changeelem
signature changeThese
exists
signature changeelem
signature changeNonEmptyArray
/ ReadonlyNonEmptyArray
isOutOfBound
signature changeSet
/ ReadonlySet
isEmpty
signature changesize
signature changeMap
/ ReadonlyMap
isEmpty
signature changesize
signature changeChangelog
2.11.0-rc.2
string
split
now returns a ReadonlyNonEmptyArray
TaskOption
FromEither
instance2.11.0-rc.1
caused type inference issues
Array
/ ReadonlyArray
isOutOfBound
signature changeisEmpty
signature changesize
signature changeEither
exists
signature changeelem
signature changeThese
exists
signature changeelem
signature changeNonEmptyArray
/ ReadonlyNonEmptyArray
isOutOfBound
signature changeSet
/ ReadonlySet
isEmpty
signature changesize
signature changeMap
/ ReadonlyMap
isEmpty
signature changesize
signature changeChangelog
2.11.0-rc.1
Array
range
, use NonEmptyArray
module instead.function
Endomorphism
, use Endomorphism
module instead.getEndomorphismMonoid
, use Endomorphism
module instead.Predicate
, use Predicate
module instead.not
, use Predicate
module instead.Refinement
, use Refinement
module instead.Monoid
monoidVoid
, use void
module instead.NonEmptyArray
groupSort
(it's just sort
followed by group
)Option
getRefinement
, use Refinement
module instead.getFirstMonoid
, use getMonoid
module instead.getLastMonoid
, use getMonoid
module instead.ReadonlyArray
range
, use ReadonlyNonEmptyArray
module instead.ReadonlyNonEmptyArray
groupSort
(it's just sort
followed by group
)Record
/ ReadonlyRecord
: deprecate overloads without Ord
constraint (@anthonyjoeseph):
collect
reduce
foldMap
reduceRight
reduceWithIndex
foldMapWithIndex
reduceRightWithIndex
getShow
Foldable
in favour of getFoldable
(@anthonyjoeseph)FoldableWithIndex
in favour of getFoldableWithIndex
(@anthonyjoeseph)Traversable
in favour of getTraversable
(@anthonyjoeseph)TraversableWithIndex
in favour of getTraversableWithIndex
(@anthonyjoeseph)Witherable
in favour of getWitherable
(@anthonyjoeseph)Semigroup
semigroupVoid
, use void
module instead.Endomorphism
modulePredicate
moduleRefinement
moduleFromState
moduleFromThese
modulevoid
moduleFromReader
moduleNaturalTransformation
moduleZero
moduleAlt
altAll
Alternative
altAll
Array
prependW
, appendW
(@thewilkybarkid)fromOption
, fromPredicate
(@cdimitroulas)filterE
ChainRecDepthFirst
instance (@qlonik)chainRecDepthFirst
ChainRecBreadthFirst
instance (@qlonik)chainRecBreadthFirst
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
fromEither
FromEither
instancefromEitherK
isEmpty
a user defined guardconcat
/ concatW
match
, matchW
, matchLeftW
, matchRightW
fromOptionK
Zero
instanceguard
constructorexists
aliasboolean
isBoolean
Either
chainOptionK
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
EitherT
orElseFirst
orLeft
function
SK
(@cdimitroulas)apply
IO
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
IOEither
orElseFirst
/ orElseFirstW
orLeft
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
Magma
reverse
filterFirst
filterSecond
endo
concatAll
Map
union
intersection
difference
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
getFoldable
foldMap
reduceRight
reduceWithIndex
foldMapWithIndex
reduceRightWithIndex
NonEmptyArray
matchLeft
, matchRight
, modifyHead
, modifyLast
(@cdimitroulas)union
getUnionSemigroup
makeBy
range
concat
pipeablenumber
MagmaSub
isNumber
string
isString
Option
FromEither
instancefromEitherK
chainEitherK
Zero
instanceguard
constructortraverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
Ord
trivial
instanceequals
Reader
asksReaderW
, asksReader
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
ReaderEither
asksReaderEitherW
, asksReaderEither
orElseFirst
/ orElseFirstW
orLeft
chainReaderKW
chainFirstReaderK
, chainFirstReaderKW
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
ReaderTask
asksReaderTaskW
, asksReaderTask
chainReaderKW
chainFirstReaderK
, chainFirstReaderKW
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
ReaderTaskEither
asksReaderTaskEitherW
, asksReaderTaskEither
orElseFirst
/ orElseFirstW
orLeft
fromReaderTaskK
fromReaderEitherK
chainReaderKW
chainReaderTaskK
, chainReaderTaskKW
chainFirstReaderK
, chainFirstReaderKW
chainFirstReaderTaskK
, chainFirstReaderTaskKW
chainReaderEitherK
, chainReaderEitherKW
chainFirstReaderEitherK
, chainFirstReaderEitherKW
chainFirstTaskEitherK
, chainFirstTaskEitherKW
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
ReadonlyArray
prependW
, appendW
(@thewilkybarkid)filterE
ChainRecDepthFirst
instance (@qlonik)chainRecDepthFirst
ChainRecBreadthFirst
instance (@qlonik)chainRecBreadthFirst
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
fromOption
fromPredicate
fromEither
FromEither
instancefromEitherK
isEmpty
a user defined guardconcat
/ concatW
match
, matchW
, matchLeftW
, matchRightW
fromOptionK
Zero
instanceguard
constructorexists
aliasReadonlyMap
union
intersection
difference
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
reduce
foldMap
reduceRight
reduceWithIndex
foldMapWithIndex
reduceRightWithIndex
ReadonlyNonEmptyArray
matchLeft
, matchRight
, modifyHead
, modifyLast
(@cdimitroulas)union
getUnionSemigroup
makeBy
range
concat
pipeableReadonlyRecord
union
(@anthonyjoeseph)intersection
(@anthonyjoeseph)difference
(@anthonyjoeseph)getUnionSemigroup
(@anthonyjoeseph)getUnionMonoid
(@anthonyjoeseph)getIntersectionSemigroup
(@anthonyjoeseph)getDifferenceMagma
(@anthonyjoeseph)ReadonlySet
getUnionSemigroup
getDifferenceMagma
Record
union
intersection
difference
getUnionSemigroup
getUnionMonoid
getIntersectionSemigroup
getDifferenceMagma
Set
getUnionSemigroup
getDifferenceMagma
State
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
StateReaderTaskEither
fromStateK
chainStateK
local
asksStateReaderTaskEitherW
, asksStateReaderTaskEither
chainReaderKW
chainFirstReaderK
, chainFirstReaderKW
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
string
toUpperCase
toLowerCase
replace
split
trim
trimLeft
trimRight
includes
startsWith
endsWith
slice
struct
evolve
Task
ApT
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
TaskEither
fromTaskOption
(@thewilkybarkid)fromTaskOptionK
chainTaskOptionK
orElseFirst
/ orElseFirstW
orLeft
flattenW
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
TaskOption
fromTaskEither
(@thewilkybarkid)Zero
instanceguard
constructortraverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
TaskThese
ApT
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
traverseReadonlyNonEmptyArrayWithIndexSeq
traverseReadonlyArrayWithIndexSeq
These
elem
exists
ApT
traverseReadonlyNonEmptyArrayWithIndex
traverseReadonlyArrayWithIndex
Tree
exists
Witherable
filterE
, #1458 (@vinassefranche)wiltDefault
witherDefault
Either
exists
isLeft
isRight
elem
Option
isNone
These
isLeft
isRight
Set
/ ReadonlySet
isEmpty
size
Array
/ ReadonlyArray
isEmpty
isOutOfBound
size
Map
/ ReadonlyMap
isEmpty
size
NonEmptyArray
/ ReadonlyNonEmptyArray
isOutOfBound