aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorMaxime Dénès2018-11-05 10:28:44 +0100
committerMaxime Dénès2018-11-05 10:28:44 +0100
commiteb842684456c5a965507c83e7b169ae0d0f6cc90 (patch)
tree3e7a55ef60b50af0bab3b4f5db99be35b488a068 /engine
parentd813a48dcc80ca9763fd48d9e369bd21062c21d8 (diff)
parentc367e7cd962089d2932b986e5764b8e3844ad4b0 (diff)
Merge PR #8842: Towards seeing Global purely as a wrapper on top of kernel functions
Diffstat (limited to 'engine')
-rw-r--r--engine/termops.ml2
-rw-r--r--engine/termops.mli2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/termops.ml b/engine/termops.ml
index 181efa0ade..52880846f8 100644
--- a/engine/termops.ml
+++ b/engine/termops.ml
@@ -1179,7 +1179,7 @@ let isGlobalRef sigma c =
| Const _ | Ind _ | Construct _ | Var _ -> true
| _ -> false
-let is_template_polymorphic env sigma f =
+let is_template_polymorphic_ind env sigma f =
match EConstr.kind sigma f with
| Ind (ind, u) ->
if not (EConstr.EInstance.is_empty u) then false
diff --git a/engine/termops.mli b/engine/termops.mli
index 1054fbbc5e..07c9541f25 100644
--- a/engine/termops.mli
+++ b/engine/termops.mli
@@ -282,7 +282,7 @@ val is_global : Evd.evar_map -> GlobRef.t -> constr -> bool
val isGlobalRef : Evd.evar_map -> constr -> bool
-val is_template_polymorphic : env -> Evd.evar_map -> constr -> bool
+val is_template_polymorphic_ind : env -> Evd.evar_map -> constr -> bool
val is_Prop : Evd.evar_map -> constr -> bool
val is_Set : Evd.evar_map -> constr -> bool