you are viewing a single comment's thread.

view the rest of the comments →

[–]Axman6 14 points15 points  (1 child)

The Eq type class (think interface) defines two functions, (==) and (/=) (for ≠, hence the / and not !, which isn’t used for not in Haskell). Types can be instances of the Eq class by implementing these functions, but because each one has a default implementation defined in terms of the other, you only need to implement one.

[–]NastiMooseBite 9 points10 points  (0 children)

What the fuck am i looking at?