Skip to content

Releases: samber/lo

v1.4.0

05 Mar 19:15
d90b852
Compare
Choose a tag to compare
  • adding tuple types (2->9)
  • adding Zip + Unzip
  • adding lo.PartitionBy + lop.PartitionBy
  • adding lop.GroupBy
  • fixing Nth

v1.3.1

05 Mar 00:42
7b0a807
Compare
Choose a tag to compare
oops

v1.3.0

03 Mar 17:13
4e339ad
Compare
Choose a tag to compare
Last and Nth return errors

v1.2.0

03 Mar 15:17
def4dff
Compare
Choose a tag to compare
Merge pull request #2 from samber/feat-parallel

Adding lop.Map and lop.ForEach

v1.1.0

03 Mar 13:08
60559e1
Compare
Choose a tag to compare

Adding i int param to lo.Map(), lo.Filter(), lo.ForEach() and lo.Reduce() predicates.

v1.0.0

02 Mar 13:06
7c4fa65
Compare
Choose a tag to compare

Initial release

Supported helpers for slices:

  • Filter
  • Map
  • Reduce
  • ForEach
  • Uniq
  • UniqBy
  • GroupBy
  • Chunk
  • Flatten
  • Shuffle
  • Reverse
  • Fill
  • ToMap

Supported helpers for maps:

  • Keys
  • Values
  • Entries
  • FromEntries
  • Assign (maps merge)

Supported intersection helpers:

  • Contains
  • Every
  • Some
  • Intersect
  • Difference

Supported search helpers:

  • IndexOf
  • LastIndexOf
  • Find
  • Min
  • Max
  • Last
  • Nth

Other functional programming helpers:

  • Ternary (1 line if/else statement)
  • If / ElseIf / Else
  • Switch / Case / Default
  • ToPtr
  • ToSlicePtr

Constraints:

  • Clonable
  • Ordered