11 lines
No EOL
165 B
Haskell
11 lines
No EOL
165 B
Haskell
module Types.Expr (Expr (..)) where
|
|
|
|
data Expr
|
|
= Lit Int
|
|
| Add Expr Expr
|
|
| Sub Expr Expr
|
|
| Mul Expr Expr
|
|
deriving
|
|
( -- | Div Expr Expr
|
|
Show
|
|
) |