package ocaml-compiler

  1. Overview
  2. Docs

doc/compiler-libs.common/Ctype/Pattern_env/index.html

Module Ctype.Pattern_env

type envop
type t = private {
  1. mutable env : Env.t;
  2. mutable op_list : envop list;
  3. equations_scope : int;
  4. in_counterexample : bool;
}
val make : Env.t -> equations_scope:int -> in_counterexample:bool -> t
val copy : ?equations_scope:int -> t -> t
val enter_type : scope:int -> Asttypes.label -> Types.type_declaration -> t -> Ident.t
val set_env : t -> Env.t -> unit