[Haskell-cafe] Ambiguous type variable with lenses

Henry Laxen nadine.and.henry at pobox.com
Thu Aug 18 16:27:05 UTC 2022

Thank you Keith, that was the "incantation" I was looking for.
Best wishes,
Henry Laxen

Keith <keith.wygant at gmail.com> writes:

> I haven't tested this out, but have you tried putting a functional dependency on the class(| a -> b)? Could also put each method in its own class.
> --
> Sent from my phone with K-9 Mail.

More information about the Haskell-Cafe mailing list