ekmett / adjunctions

Simple adjunctions
http://hackage.haskell.org/package/adjunctions
Other
44 stars 27 forks source link

Add rix #55

Closed phadej closed 5 years ago

phadej commented 5 years ago

This function is bad fit into lens in class; but this general implementation fits well adjunctions.

Maybe it should be even a member of Representable; then we won't need Eq (Rep f) in manually written instances.

phadej commented 5 years ago

This bad idea (to have in adjunctions). The requirement of Eq (Req f) is too strong in general.