logoalt Hacker News

zozbot234last Friday at 9:14 PM1 replyview on HN

You can solve this in the general case by implementing the typeclass for the coarser equality relation over an ad-hoc wrapper newtype.


Replies

hurrillast Friday at 10:17 PM

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