6 lines
180 B
OCaml
6 lines
180 B
OCaml
(*
|
|
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
|