Releases: AFatNiBBa/lazylist
Releases · AFatNiBBa/lazylist
Refactoring and new functions
New
slice()
methoddefaultIfEmpty()
methoddistinct()
methodfind()
aggregate method
Changes
- Removed the
count
override inLazyRangeList
- Renamed
replace()
tosplice()
- Renamed
slice()
tosplit()
Replace
IndexOf
SkipLast, TakeLast
New
LazySkipList.skip()
utility static function- You can now pass a negative number to the
skip()
and thetake()
methods in order to respectvively skip and take from the end of the list (Doing this will force the list to be computed)
When, Assign, OfType, Concat
New
when()
methodassign()
methodofType()
methodconcat()
method
Fix
- Optimized the
take()
method - Fixed an error on the
await()
method
Changes
- Renamed the
concat()
method tomerge()
- Removed the
adjust()
method as it was only for utility and never used
Fix
While
Has, Join, Cartesian product, Generators
New
has()
methodjoin()
method (If only two arguments are supplied, it does the cartesian product)attachIterator()
function (Allows the use of everyGenerator
as aLazyList
)
Fix
- Changed the
count
getter onLazyRangeList
At
But, Slice, Await
New
-
but()
method -
slice()
method -
await()
method -
LazyTakeList.take()
utility static function -
UMarkedIterator<T>
utility type