aboutsummaryrefslogtreecommitdiff
path: root/intf
diff options
context:
space:
mode:
authorHugo Herbelin2017-02-02 17:03:10 +0100
committerMaxime Dénès2017-03-24 12:17:35 +0100
commita1e5a87c9d4368fe17d93988b010acfb1c96771b (patch)
treef44227e471056f5a07434d632698fc66ddb3a0d6 /intf
parentd91a0c27402f0f19a30147bb9d87387ca2a91fd0 (diff)
Cleaning phase around local binder at glob level:
Aligned the type binder_data to the naming scheme used in (raw) local_binder and Rel.Declaration.t. Made some code factorization. Still to do: align type Glob_term.glob_binder to the Assum/Def format too. Note: this includes fix of anomaly with 'pat in cofix (dec77f282).
Diffstat (limited to 'intf')
-rw-r--r--intf/glob_term.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/intf/glob_term.mli b/intf/glob_term.mli
index b3159c860c..f83ff97b21 100644
--- a/intf/glob_term.mli
+++ b/intf/glob_term.mli
@@ -78,6 +78,8 @@ and cases_clause = (Loc.t * Id.t list * cases_pattern list * glob_constr)
of [t] are members of [il]. *)
and cases_clauses = cases_clause list
+type glob_binder = (Name.t * binding_kind * glob_constr option * glob_constr)
+
(** A globalised term together with a closure representing the value
of its free variables. Intended for use when these variables are taken
from the Ltac environment. *)