feature/print-statement #25

Merged
me merged 13 commits from feature/print-statement into main 2023-10-07 05:51:48 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d40467bc00 - Show all commits

View file

@ -1 +1 @@
5*3+2
5*3-2+-4-4

View file

@ -23,7 +23,7 @@ symbol :: Text -> Parser Text
symbol = L.symbol C.space
int :: Parser Int
int = lexeme L.decimal
int = lexeme $ L.signed (return ()) L.decimal
term :: Parser Expr
term = Lit <$> int