Created
February 26, 2015 10:57
-
-
Save expipiplus1/79359ba60ae1683f4907 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data A = A | |
data B = B | |
class C c where | |
<perhaps something here> | |
instance C A where | |
instance C B where | |
<some crazy patterns> | |
foo :: C c => c -> Bool | |
foo A = True | |
foo B = False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this going to be possible in a future version of GHC. I don't think it's possible in 7.8.