v6.3.0
This release includes a number of small but meaningful improvements to the library:
- Makes
indexListmore efficient and adds anIndexinstance forList(@cscalfani) - Adds a re-export for
ATraversalandATraversal'(@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
lensStorefunction which can be used to construct a lens when a type appears under every constructor in a sum type (@LiamGoodacre) - Adds
toArrayOfandtoArrayOfOnwhich behave like the existingtoListOfandtoListOfOnoptics, but for arrays (@dwhitney)