summaryrefslogtreecommitdiff
path: root/lec05/ExprT.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lec05/ExprT.hs')
-rw-r--r--lec05/ExprT.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/lec05/ExprT.hs b/lec05/ExprT.hs
new file mode 100644
index 0000000..3408634
--- /dev/null
+++ b/lec05/ExprT.hs
@@ -0,0 +1,6 @@
+module ExprT where
+
+data ExprT = Lit Integer
+ | Add ExprT ExprT
+ | Mul ExprT ExprT
+ deriving (Show, Eq)