deprecated branch
This commit is contained in:
parent
be3fcfc9e3
commit
b6f03e953b
3 changed files with 117 additions and 0 deletions
20
src/Abs.hs
Normal file
20
src/Abs.hs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{-# LANGUAGE TypeFamilies, StandaloneDeriving #-}
|
||||
|
||||
module Abs where
|
||||
|
||||
data Exp eps
|
||||
= EInt (XInt eps) Integer
|
||||
| EId (XId eps) String
|
||||
| EAdd (XAdd eps) (Exp eps) (Exp eps)
|
||||
| EApp (XApp eps) (Exp eps) (Exp eps)
|
||||
| EAbs (XAbs eps) String (Exp eps)
|
||||
| EExp (XExp eps)
|
||||
|
||||
newtype Ident = Ident String
|
||||
|
||||
type family XInt eps
|
||||
type family XId eps
|
||||
type family XAdd eps
|
||||
type family XApp eps
|
||||
type family XAbs eps
|
||||
type family XExp eps
|
||||
Loading…
Add table
Add a link
Reference in a new issue