aboutsummaryrefslogtreecommitdiff
path: root/kernel/constr.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-03-03 20:38:11 +0100
committerPierre-Marie Pédrot2020-12-02 13:55:50 +0100
commit056245e24411c3f410d3e91897ad8ce97bc59587 (patch)
treefba281ff409315db8ccfafeac4d923d178e045fd /kernel/constr.mli
parentff8155bf6586040b92d916a72017ac1bdc138501 (diff)
Move *_with_full_binders variants out of the kernel.
They are not used there, and removing the redundance of the the case representation requires access to the environment, so we push their use further up.
Diffstat (limited to 'kernel/constr.mli')
-rw-r--r--kernel/constr.mli23
1 files changed, 0 insertions, 23 deletions
diff --git a/kernel/constr.mli b/kernel/constr.mli
index 62f2555a7e..ed63ac507c 100644
--- a/kernel/constr.mli
+++ b/kernel/constr.mli
@@ -478,25 +478,6 @@ val map_branches_with_binders : ('a -> 'a) -> ('a -> constr -> constr) -> 'a ->
val map_return_predicate_with_binders : ('a -> 'a) -> ('a -> constr -> constr) -> 'a -> case_info -> constr -> constr
-(** [map_under_context_with_full_binders g f n l c] is similar to
- [map_under_context_with_binders] except that [g] takes also a full
- binder as argument and that only the number of binders (and not
- their signature) is required *)
-
-val map_under_context_with_full_binders : ((constr, constr) Context.Rel.Declaration.pt -> 'a -> 'a) -> ('a -> constr -> constr) -> 'a -> int -> constr -> constr
-
-(** [map_branches_with_full_binders g f l br] is equivalent to
- [map_branches_with_binders] but using
- [map_under_context_with_full_binders] *)
-
-val map_branches_with_full_binders : ((constr, constr) Context.Rel.Declaration.pt -> 'a -> 'a) -> ('a -> constr -> constr) -> 'a -> case_info -> constr array -> constr array
-
-(** [map_return_predicate_with_full_binders g f l p] is equivalent to
- [map_return_predicate_with_binders] but using
- [map_under_context_with_full_binders] *)
-
-val map_return_predicate_with_full_binders : ((constr, constr) Context.Rel.Declaration.pt -> 'a -> 'a) -> ('a -> constr -> constr) -> 'a -> case_info -> constr -> constr
-
(** {6 Functionals working on the immediate subterm of a construction } *)
(** [fold f acc c] folds [f] on the immediate subterms of [c]
@@ -505,10 +486,6 @@ val map_return_predicate_with_full_binders : ((constr, constr) Context.Rel.Decla
val fold : ('a -> constr -> 'a) -> 'a -> constr -> 'a
-val fold_with_full_binders :
- (rel_declaration -> 'a -> 'a) -> ('a -> 'b -> constr -> 'b) ->
- 'a -> 'b -> constr -> 'b
-
val fold_invert : ('a -> 'b -> 'a) -> 'a -> ('b, 'c) case_invert -> 'a
(** [map f c] maps [f] on the immediate subterms of [c]; it is