Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: