aelve / haskell-issues

An unofficial issue tracker for all things Haskell-related
18 stars 0 forks source link

Add Profunctor, Choice, Contravariant #9

Open neongreen opened 8 years ago

neongreen commented 8 years ago

This would allow people to define lens-style Folds, Prisms and Isos without depending on lens.

Roxxik commented 7 years ago

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