Skip to content

Releases: AFatNiBBa/lazylist

ES6 Modules

29 Jan 18:45
Compare
Choose a tag to compare

Made the library completely compatible with ES6 modules

OnFirst

09 Nov 17:57
Compare
Choose a tag to compare

New

  • onFirst() method

Sort, ReGroup, GetIterator

22 Oct 15:56
Compare
Choose a tag to compare

New

  • reGroup() method on LazyGroupByList
  • getIterator() method on LazyCacheList

Changes

  • Now sort() and orderBy() use selection sort

Fixes

15 Oct 18:35
Compare
Choose a tag to compare

Fixes

  • Fixed some return types that where any but should have been TResult

Cache iteration

15 Oct 16:39
Compare
Choose a tag to compare

New

  • getBufferFunc() method on LazyCacheList

Fixes

  • Renamed then() to thenDo() to fix a bug

Second negative behaviour

20 Aug 02:18
Compare
Choose a tag to compare

Changes

  • Added the possibility to use another behaviour (By passing true to the leftOnNegative parameter) when a negative number is passed:
    • To skip()
    • To take()
    • As length to slice()

Fixes

  • The slice() method now works correctly with negative indexes

Traverse, Insert, Remove

20 Aug 00:02
Compare
Choose a tag to compare

New

  • traverse() method
  • insert() method
  • remove() method

Changes

  • Removed flip parameter from append()

MultiCount

11 Aug 19:49
Compare
Choose a tag to compare

New

  • multiCountì() method

AllEquals, Fill, Rotate, ToGenerator

06 Aug 14:23
Compare
Choose a tag to compare

New

  • allEquals() method
  • fill() method
  • rotate() method
  • toGenerator() static function

Changes

  • split() now can take a predicate that splits the list if true is returned
  • single() and fixedCount() can now be provided with a parameter that tells the method when not to throw errors
  • defaultIfEmpty() has been renamed to default()
  • first() and last() are now getters (To provide them with a default value, use the default() method)

Fixes

  • take() no longer ignores the mode when a negative number is provided

Flat, OrderBy

30 Jul 19:12
Compare
Choose a tag to compare

New

  • flat() method
  • orderBy() method

Changes

  • Now the from() static function can take a function that returns an iterator
  • Now if two sorting functions are chained, the two iterations will be combined in one