Hacker News new | ask | show | jobs
by zozbot234 198 days ago
You can solve this in the general case by implementing the typeclass for the coarser equality relation over an ad-hoc wrapper newtype.
1 comments

Well it isn't a good call. This is the kind of code that OOP makes people write.