Skip to content

Instantly share code, notes, and snippets.

@sellout
Created May 7, 2014 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sellout/9d26d5c0613404eeb362 to your computer and use it in GitHub Desktop.
Save sellout/9d26d5c0613404eeb362 to your computer and use it in GitHub Desktop.
class Foo a where
class Bar a where
instance Foo a => Bar a where
instance (Foo a, Foo b) => Bar (a, b) where
-- line 7 col 10:
-- Overlapping instance: Bar a already defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment