Re: Make Eq type class single method
Tom Ellis <[email protected]> Wed, 20 Oct 2021 15:43:20 +0100
| Newsgroups | gmane.comp.lang.haskell.libraries |
|---|---|
| Message-ID | <20211020144320.GP22523@cloudinit-builder> |
On Wed, Oct 20, 2021 at 04:39:21PM +0200, Joachim Breitner wrote: > I am revisiting some educational material about Haskell, and I stumble > over something that I keep stumbling over. I thought there was prior > discussion, but I couldn’t find it (operators hard hard to google for). > > Why does Eq have a (/=) method? Perhaps sometimes it is easier to define (/=) and use the default definition of (==) in terms of it? _______________________________________________ Libraries mailing list [email protected] http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries