Created
February 23, 2014 17:11
-
-
Save joneshf/9174142 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| instance Eq (Ref a) where | |
| ... | |
| instance Eq a => Eq [a] where | |
| ... |
Author
Author
If the (Ref a) isn't in there, it will parse both declarations as separate.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It will parse this as one instance declaration. The first
Eqin line 1 asstorage.type.purescriptthen attempts to consume everything up until the=>in line 4 as part of theenatilment. finishing off with anotherstorage.type.purescripton theEq [a]