aboutsummaryrefslogtreecommitdiff
path: root/src/AST.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-02-18 17:14:11 +0100
committerTom Smeding <tom@tomsmeding.com>2024-02-18 17:15:50 +0100
commit78ffb5ed5fbda230675310b37f798c500a13ef11 (patch)
tree893dd8aa1a451e88958993d0b4b0f5ce2d5b124b /src/AST.hs
parent720372e3deac26a064fb1c711db2ccf54e655fab (diff)
Parser work
Diffstat (limited to 'src/AST.hs')
-rw-r--r--src/AST.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AST.hs b/src/AST.hs
index 2048e87..76b39b6 100644
--- a/src/AST.hs
+++ b/src/AST.hs
@@ -32,6 +32,7 @@ data Pattern t
| PVar t Name
| PAs t Name (Pattern t)
| PCon t Name [Pattern t]
+ | POp t (Pattern t) Operator (Pattern t)
| PList t [Pattern t]
| PTup t [Pattern t]
deriving (Show)