haskell-issues
haskell-issues copied to clipboard
Add Profunctor, Choice, Contravariant
This would allow people to define lens-style Fold
s, Prism
s and Iso
s without depending on lens.
Having profunctors in base would allow lens to use profunctor based lenses which have some advantages
see https://github.com/purescript-contrib/purescript-lens/issues/26
Edit: here is a nice discussion of the package <-> lens feature correspondence: https://github.com/ekmett/lens/issues/647