Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type tenv = {
te_vars : (string * Types.typ) list;
te_ctors : (string * Types.typ) list;
te_rfields : (string * Types.typ) list;
te_defns : (string * Types.typ) list;
te_prims : (string * Types.typ_scheme) list;
}
val builtin_tenv : tenv
exception Illegal_cast of Expr.t
exception Invalid_record_access of Expr.t
val type_of_type_expr : tenv -> Type_expr.t -> Types.typ
val type_check_stim : tenv -> string -> Types.typ -> Global.stim_desc -> unit
val dump_tenv : Stdlib.out_channel -> tenv -> unit