diff options
author | Marvin Borner | 2023-07-08 12:39:48 +0200 |
---|---|---|
committer | Marvin Borner | 2023-07-08 12:39:48 +0200 |
commit | 92251c29d6c171d40b14c238b7f73d65185ab86a (patch) | |
tree | 0daa8bf75482469e53de6926fe15c239c813b76b /src/Parser.hs | |
parent | aaf74ac0b256055ca39618135f4ce9c98ccf8c95 (diff) |
Added variadic signatures
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 392d4a6..bad7ad3 100644 --- a/src/Parser.hs +++ b/src/Parser.hs @@ -205,7 +205,7 @@ parseEvaluate = do parseFunctionType :: Parser () parseFunctionType = - sepBy1 parseTypeSingleton (sc *> char '→' <* sc) + sepBy1 (parseTypeSingleton <* optional (char '*')) (sc *> char '→' <* sc) >> return () <?> "function type" |