diff options
author | Edoardo La Greca | 2025-07-09 18:13:14 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-07-09 18:13:14 +0200 |
commit | 9d9039f3e329b45fc25b71cc64d48ff33c08f03c (patch) | |
tree | 48d25677e905fb8c50340cf23011a3483b8169d9 /lec05/ExprT.hs | |
parent | e1da2329d5d7c519eda945c2d1b5103a419df5ca (diff) |
add files for homework of lecture 5
Diffstat (limited to 'lec05/ExprT.hs')
-rw-r--r-- | lec05/ExprT.hs | 6 |
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) |