From de2acb78940df97bd337bb3e8e366c75739390bc Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 15 Aug 2022 12:12:49 +0100 Subject: Try call before lambda --- src/Parser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3