Created
August 9, 2018 19:00
-
-
Save ndmitchell/fbc5f16a59758dcae58e6a3001ad0a16 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 Foo where | |
Bar :: Foo | |
Baz :: Foo | |
deriving Show | |
-- seems to be parsed as: | |
data Foo where { | |
Bar :: Foo; | |
Baz :: foo} | |
deriving Show | |
-- why not: | |
data Foo where { | |
Bar :: Foo; | |
Baz :: foo; | |
deriving Show} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment