On Scala 2.13 replace NonEmptyStream
with NonEmptyLazyList
#2903
Labels
Milestone
NonEmptyStream
with NonEmptyLazyList
#2903
OneAnd
'stailRecM
implementation is no longer stack safe onLazyList
.It's time to introduce a
NonEmptyLazyList
that is a new type toLazyList
similar to otherNonEmptyXXXX
(e.g.NonEmptyVectorNonEmptyChain) data types.Then maybe (definitely in a separate PR) consider deprecate the
OneAnd
data type on 2.13 (need to duplicate the code to both 2.12- folder and 2.13+ folder and mark the one in 2.13 as deprecated, this probably have chain implications (e.g. the type aliasNonEmptyStream
in cats.data need to be somehow only deprecated on 2.12-)I completed the 1st step in #2905. If anyone interested in continue on it please feel free to continue on it.
Update: I was wrong
NonEmptyVector
didn't not use new type impl, changed to NonEmptyChainThe text was updated successfully, but these errors were encountered: