This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues or pull requests.
really-bad-compiler-in-haskell/main/Types/Expr.hs

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
)