diff options
author | Marvin Borner | 2022-03-04 01:10:12 +0100 |
---|---|---|
committer | Marvin Borner | 2022-03-04 01:10:12 +0100 |
commit | dbfb7c4f285fda49c59648ef16c6d6bfdd4e59bd (patch) | |
tree | 9b44a3dcb6ab087569293489700177c7d5709f41 /src/Fun/Grammar.hs | |
parent | 6af1f804f0def7f48ae2d726951b13c895b85931 (diff) |
Syntax
Diffstat (limited to 'src/Fun/Grammar.hs')
-rw-r--r-- | src/Fun/Grammar.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fun/Grammar.hs b/src/Fun/Grammar.hs index 7f6625d..422a211 100644 --- a/src/Fun/Grammar.hs +++ b/src/Fun/Grammar.hs @@ -119,6 +119,7 @@ functionPatternElement :: Parser FunctionPatternElement functionPatternElement = (functionParameter >>> FunctionPatternParameter) <|> (literal '_' >>> const FunctionPatternWildcard) + <|> (literal '_' <+-> literal '*' >>> const FunctionPatternSuperWildcard) <|> (number >>> FunctionPatternNumber) <|> (string >>> FunctionPatternString) <?> "function pattern element" |