aboutsummaryrefslogtreecommitdiff
path: root/AST.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2023-04-15 22:04:36 +0200
committerTom Smeding <tom@tomsmeding.com>2023-04-15 22:04:36 +0200
commitaea2a97d0aace7f7466e55bf8fed7e47497d2dc7 (patch)
tree1b1766f5a09c2902f8004396175c54b58599739f /AST.hs
parenta06d17e5f4ec8f5011f9ef264bd15d7e4a19c1fb (diff)
Some parser work
Diffstat (limited to 'AST.hs')
-rw-r--r--AST.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.hs b/AST.hs
index 6b327c5..0b98618 100644
--- a/AST.hs
+++ b/AST.hs
@@ -8,7 +8,7 @@ data FunDef t = FunDef Name (Maybe Type) [FunEq t]
deriving (Show)
newtype Name = Name String
- deriving (Show)
+ deriving (Show, Eq)
data Type
= TApp Type [Type]