Module Env
type summary =
| Env_empty
type t
val empty : t
val initial_safe_string : t
val initial_unsafe_string : t
val same_types : t -> t -> bool
val reset_required_globals : unit -> unit
val has_local_constraints : t -> bool
val add_gadt_instance_level : int -> t -> t
val lookup_all_constructors : Longident.t -> t -> (Types.constructor_description * unit -> unit) list
exception Recmodule
val open_pers_signature : string -> t -> t
val enter_module_declaration : ?arg:bool -> string -> Types.module_declaration -> t -> (Ident.t * t)
val reset_cache : unit -> unit
val reset_cache_toplevel : unit -> unit
val set_unit_name : string -> unit
val summary : t -> summary
val keep_only_summary : t -> t
exception Error of error
type constructor_usage =
| Positive
| Pattern
| Privatize
val mark_constructor_used : constructor_usage -> t -> string -> Types.type_declaration -> string -> unit
val in_signature : t -> t
val implicit_coercion : t -> t
val check_modtype_inclusion : t -> Types.module_type -> Path.t -> Types.module_type -> unit Pervasives.ref
val fold_constructors : Types.constructor_description -> 'a -> 'a -> Longident.t option -> t -> 'a -> 'a