package codept-lib

  1. Overview
  2. Docs
type path = Transforms.answer
type module_like
type m2l
type state_diff
type path_in_context = {
  1. loc : Uloc.t;
  2. edge : Deps.Edge.t option;
  3. level : Module.level;
  4. seed : Id.seed;
  5. ctx : state_diff;
  6. path : Paths.Simple.t;
  7. within : Module.signature option;
}
val pp_ml : module_like Pp.t
val path : query -> path
val abstract : Id.seed -> module_like

Module like

val unpacked : module_like
val ident : path -> module_like
val str : m2l -> module_like
val ext : Transforms.param -> Uloc.t -> string -> unit
val empty : module_like
val signature : module_like -> Module.signature option
val with_module : delete:bool -> lhs:Paths.S.t -> rhs:module_like -> module_like -> module_like

With constraint

val with_module_type : delete:bool -> lhs:Paths.S.t -> rhs:module_like -> module_like -> module_like
val m2l_add : state_diff -> m2l -> m2l

M2l

val m2l_init : m2l
val final : m2l -> Module.Sig.t
val bind_rec_add : Name.t option -> module_like -> state_diff -> state_diff

Module rec

val bind_rec_init : state_diff
val bind : Name.t option -> module_like -> state_diff
val bind_sig : Name.t option -> module_like -> state_diff
val opened : Transforms.param -> loc:Uloc.t -> module_like -> state_diff
val empty_diff : state_diff
module type state = sig ... end
module State (Env : Stage.envt) : state with type env = Env.t
OCaml

Innovation. Community. Security.