purescript-contrib / purescript-profunctor-lenses

Pure profunctor lenses
MIT License
144 stars 51 forks source link

Add `coerced` #140

Closed ozkutuk closed 2 years ago

ozkutuk commented 2 years ago

Description of the change This PR adds coerced Iso. A motivating example for this addition is provided within the documentation. It should be noted that this not add an additional dependency, as safe-coerce is already depended on transitively through newtype.


Checklist:

thomashoneyman commented 2 years ago

Would you mind adding this to the changelog? Thanks!