2018-02-16 11:22:07 +00:00
|
|
|
type var = string
|
|
|
|
|
2018-02-13 23:43:40 +00:00
|
|
|
type term =
|
2018-02-16 11:22:07 +00:00
|
|
|
| Assign of string * term
|
|
|
|
| TmVar of var
|
|
|
|
| TmAbs of var * term
|
2018-02-13 23:43:40 +00:00
|
|
|
| TmApp of term * term
|
|
|
|
|
2018-02-16 11:22:07 +00:00
|
|
|
type context = (string * term) list
|
2018-02-13 23:43:40 +00:00
|
|
|
|