Skip to content

v6.3.0

Compare
Choose a tag to compare
@thomashoneyman thomashoneyman released this 10 Feb 18:33

This release includes a number of small but meaningful improvements to the library:

  • Makes indexList more efficient and adds an Index instance for List (@cscalfani)
  • Adds a re-export for ATraversal and ATraversal' (@pbrant)
  • Adds a new function, simple, which can be used to restrict the type of an optic to aid type inference (@LiamGoodacre)
  • Adds a new lensStore function which can be used to construct a lens when a type appears under every constructor in a sum type (@LiamGoodacre)
  • Adds toArrayOf and toArrayOfOn which behave like the existing toListOf and toListOfOn optics, but for arrays (@dwhitney)