on master help sign in
style: better formatting for "reserveds"
commit42b223614b7dce5a4d06599abfceaabb5d89b3e0 authorEvan Czaplicki <info@elm-lang.org> dateSat 20 Sep 2014, 14:10 (12 years ago) parentafff54c
1 file changed+11−9
compiler/Parse/Helpers.hs+11−9
compiler/Parse/Helpers.hs+11−9
@@ -22,15 +22,17 @@ import AST.Literal as Literal
2222import AST.PrettyPrint
2323import qualified AST.Variable as Variable
2424
25−reserveds = [ "if", "then", "else"
26− , "case", "of"
27− , "let", "in"
28− , "data", "type"
29− , "module", "where"
30− , "import", "as", "hiding", "open"
31− , "export", "foreign"
32− , "deriving", "port"
33− ]
25+reserveds :: [String]
26+reserveds =
27+ [ "if", "then", "else"
28+ , "case", "of"
29+ , "let", "in"
30+ , "data", "type"
31+ , "module", "where"
32+ , "import", "as", "hiding", "open"
33+ , "export", "foreign"
34+ , "deriving", "port"
35+ ]
3436
3537expecting = flip (<?>)
3638