aboutsummaryrefslogtreecommitdiff
path: root/pretyping
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/termops.mli6
1 files changed, 5 insertions, 1 deletions
diff --git a/pretyping/termops.mli b/pretyping/termops.mli
index 3e0f0e0eb9..97ac881839 100644
--- a/pretyping/termops.mli
+++ b/pretyping/termops.mli
@@ -45,7 +45,11 @@ val lookup_rel_id : Id.t -> rel_context -> int * constr option * types
(** Associates the contents of an identifier in a [rel_context]. Raise
[Not_found] if there is no such identifier. *)
-(** builds argument lists matching a block of binders or a context *)
+(** Functions that build argument lists matching a block of binders or a context.
+ [rel_vect n m] builds [|Rel (n+m);...;Rel(n+1)|]
+ [extended_rel_vect n ctx] extends the [ctx] context of length [m]
+ with [n] elements.
+*)
val rel_vect : int -> int -> constr array
val rel_list : int -> int -> constr list
val extended_rel_list : int -> rel_context -> constr list