pieuvre/types.ml
2024-05-05 20:33:39 +02:00

11 lines
141 B
OCaml

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