style: add additional whitespace between top-level definitions
commite4d6baa81c1724c04360041793c55b5d44723b91
authorEvan Czaplicki <info@elm-lang.org>
dateSat 20 Sep 2014, 14:14 (12 years ago)
parent27eafda
compiler/Parse/Declaration.hs+3
@@ -9,12 +9,15 @@ import qualified Parse.Expression as Expr
99import qualified Parse.Type as Type
1010import qualified AST.Declaration as D
1111
12+
1213declaration :: IParser D.SourceDecl
1314declaration = typeDecl <|> infixDecl <|> port <|> definition
1415
16+
1517definition :: IParser D.SourceDecl
1618definition = D.Definition <$> Expr.def
1719
20+
1821typeDecl :: IParser D.SourceDecl
1922typeDecl =
2023 do reserved "type" <?> "type declaration"