1
0
Fork 0
This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
unification-pfa/lib/inference.mli

7 lines
180 B
OCaml
Raw Normal View History

2024-03-11 14:25:40 +01:00
(*
2024-03-11 09:31:56 +01:00
If `t` is a term, then `typeof t` must compute
- `None`, if there is no type for `t`
- `Some ty`, if ty is the type of term `t`
*)
val typeof : Term.t -> Type.t option