haskell-issues icon indicating copy to clipboard operation
haskell-issues copied to clipboard

Add Profunctor, Choice, Contravariant

Open neongreen opened this issue 8 years ago • 1 comments

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

neongreen avatar Mar 19 '16 22:03 neongreen

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

Roxxik avatar Jan 11 '17 09:01 Roxxik