Skip to main content

Changelog

v3.13.1

  • 🐛 fixed D.get signature

v3.13.0

v3.12.0

v3.11.0

  • ✨ added a possibility for using either immutable or mutable arrays by default (read more here)
  • ✨ added F.toMutable
  • ✨ added F.coerce

v3.10.0

v3.9.1

v3.9.0

v3.8.0

  • 🐛 fixed O.fromPredicate
  • ♻️ the Option type is now type Option<T> = T | undefined | null (due to this update, adding noUncheckedIndexedAccess to your tsconfig is mandatory, you can see other recommended options here)

v3.7.0

v3.6.0

v3.5.0

v3.4.1

⬆️ The invoke method was accepting only one argument.

v3.4.0

v3.3.0

v3.2.0

This version provides much better support for the point-free style. For instance, the following should not throw an error in TypeScript:

A.reduce([1, 2, 3], 0, N.add)
A.reduce(['hello', 'world'], '', S.concat)
A.filter(['hello', 'world'], S.startsWith('h'))

v3.1.1

  • 🐛 fixed arguments order of A.*WithIndex(index, value) and D.*WithKey(key, value) functions

v3.1.0

v3.0.1

v3.0.0

Initial v3 implementation.