Created
February 23, 2014 17:11
-
-
Save joneshf/9174142 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
instance Eq (Ref a) where | |
... | |
instance Eq a => Eq [a] where | |
... |
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
Eq
in line 1 asstorage.type.purescript
then attempts to consume everything up until the=>
in line 4 as part of theenatilment
. finishing off with anotherstorage.type.purescript
on theEq [a]