List Versions Save

🐆 An immutable list with unmatched performance and a comprehensive functional API.

v2.0.19

4 years ago

Bugfixes

  • Add head as an alias for first. This was already mentioned in the documentation but not implemented. Thanks to @shomodj for finding and reporting this bug.

Commits

  • Add head as alias for first 83bba02
  • Update dependencies ad65402
  • Merge pull request #80 from etienne-dldc/patch-1 d813645
  • Fix typo 34d4670
  • Merge pull request #69 from dubzzz/fuzzing 6a21d51
  • Add fuzzing test against built-in array 2aa3088

https://github.com/funkia/list/compare/v2.0.18...v2.0.19

v2.0.18

5 years ago
  • This release adds a toJSON method to List. When used in combination with the JSON.stringify function a list will now serialize into a JSON array.
  • List is now tested using model based testing thanks to @dubzzz and the fast-check library.

v2.0.12

5 years ago

New features

v2.0.7

6 years ago

New features

  • Two new API varians of the library. A curried variant and a variant with chainable methods. See more here.
  • New functions added: sort, sortBy, and sortWith.

Deprecation

The list/ramda export is now deprecated. The new list/curried should be used instead. The new list/curried exports functions that are curried with an internal curry function. This makes it dependency-free compared to the old one that relied on Ramda.

v2.0.4

6 years ago

Adds three new functions: isList, zip and zipWith.