Open Icelandjack opened 6 months ago
Those feel like reasonable additions to the library.
Out of curiosity, does the Distributive
instance need a full Representable g
constraint? Or would Distributive g
suffice, assuming that you rewrote the implementation accordingly?
No I wasn't able to come up with it but I fully expect that the constraint can be weakened. I also wasn't able to determine if a dual case exists for Ran.
I spotted this on ncatlab
An in Haskell this translates (roughly) to a
Representable
instance forLan
:I noticed it was missing from the library.