diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-08-15 12:12:49 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-08-15 12:12:59 +0100 |
commit | de2acb78940df97bd337bb3e8e366c75739390bc (patch) | |
tree | 2d68f04c9afa205e4e4ab0861ee8280e72b40c20 /src/Parser.hs | |
parent | 60d8f688a0c66759bdb7645c9dd4c232bc433c9f (diff) | |
download | micro-lang-hs-de2acb78940df97bd337bb3e8e366c75739390bc.tar.gz micro-lang-hs-de2acb78940df97bd337bb3e8e366c75739390bc.zip |
Try call before lambda
Diffstat (limited to 'src/Parser.hs')
-rw-r--r-- | src/Parser.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Parser.hs b/src/Parser.hs index 765a58b..41f2ba3 100644 --- a/src/Parser.hs +++ b/src/Parser.hs @@ -107,8 +107,8 @@ call = do factor :: Parser Expr factor = number - <|> try lambda <|> try call + <|> try lambda <|> try variable <|> parens expr |