ContextThe modules defined below represent a local context as defined by Chapter 4 in the Reference Manual:
A local context is an ordered list of of local declarations of names that we call variables.
A local declaration of some variable can be either:
Local assumptions are denoted in the Reference Manual as (name : typ) and local definitions are there denoted as (name := value : typ).
val eq_annot : ('a -> 'a -> bool) -> 'a binder_annot -> 'a binder_annot -> boolval hash_annot : ('a -> int) -> 'a binder_annot -> intval map_annot : ('a -> 'b) -> 'a binder_annot -> 'b binder_annotval make_annot : 'a -> Sorts.relevance -> 'a binder_annotval binder_name : 'a binder_annot -> 'aval binder_relevance : 'a binder_annot -> Sorts.relevanceval annotR : 'a -> 'a binder_annotAlways Relevant
val nameR : Names.Id.t -> Names.Name.t binder_annotRelevant + Name
val anonR : Names.Name.t binder_annotRelevant + Anonymous
module Rel : sig ... endRepresentation of contexts that can capture anonymous as well as non-anonymous variables. Individual declarations are then designated by de Bruijn indexes.
module Named : sig ... endThis module represents contexts that can capture non-anonymous variables. Individual declarations are then designated by the identifiers they bind.
module Compacted : sig ... end