pieuvre/types.ml

11 lines
142 B
OCaml

type ty_id = string
type ty =
TVar of string
| Arr of ty * ty
| And of ty * ty
| Or of ty * ty
| Bot
type gam = (ty_id * ty) list