other arith

This commit is contained in:
crumbtoo
2023-11-13 21:55:18 -07:00
parent 6f19d112e3
commit bc1a62120c
2 changed files with 15 additions and 0 deletions

View File

@@ -19,6 +19,9 @@ data Expr = Var Name
data Prim = IntP Int
| IntAddP
| IntSubP
| IntMulP
| IntDivP
| IntNegP
deriving (Show, Eq)