ContextSourceThe 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) ->
('r -> 'r -> bool) ->
('a, 'r) pbinder_annot ->
('a, 'r) pbinder_annot ->
boolval map_annot_relevance_smart :
('r -> 'r) ->
('a, 'r) pbinder_annot ->
('a, 'r) pbinder_annotAlways Relevant
Relevant + Name
Relevant + Anonymous
Representation of contexts that can capture anonymous as well as non-anonymous variables. Individual declarations are then designated by de Bruijn indexes.
This module represents contexts that can capture non-anonymous variables. Individual declarations are then designated by the identifiers they bind.