summaryrefslogtreecommitdiff
path: root/lec05/ExprT.hs
blob: 340863463802a08c7e76946dbe6c5370a1dc8ae9 (plain)
1
2
3
4
5
6
module ExprT where

data ExprT = Lit Integer
           | Add ExprT ExprT
           | Mul ExprT ExprT
  deriving (Show, Eq)