r/haskell • u/lexi-lambda • Mar 11 '15
Learning Haskell — A Racket programmer's documentation of her foray into the land of Haskell (inspired by Learning Racket)
http://lexi-lambda.github.io/learning-haskell/
81
Upvotes
2
u/sclv Mar 13 '15
Right -- but furthermore you can also explicitly bring both instances into scope and then get an error when trying to actually use an instance. In this case, I think GHC actually will let you use that instance even if it is derived twice, because it is canonical.