deprecated branch

This commit is contained in:
sebastianselander 2023-02-09 09:42:44 +01:00
parent be3fcfc9e3
commit b6f03e953b
3 changed files with 117 additions and 0 deletions

20
src/Abs.hs Normal file
View 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