lambda/types.ml
2018-02-20 03:24:52 -06:00

13 lines
194 B
OCaml

type var = string
type term =
| TmVar of var
| TmAbs of var * term
| TmApp of term * term
type input =
| Term of term
| Assign of string * term
type context = (string * term) list