aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/reduction.mli
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/reduction.mli')
-rw-r--r--kernel/reduction.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/reduction.mli b/kernel/reduction.mli
index e0f9c375b..525651493 100644
--- a/kernel/reduction.mli
+++ b/kernel/reduction.mli
@@ -76,5 +76,7 @@ val hnf_prod_applist : env -> types -> constr list -> types
val dest_prod : env -> types -> rel_context * types
val dest_prod_assum : env -> types -> rel_context * types
-val dest_arity : env -> types -> arity
+exception NotArity
+
+val dest_arity : env -> types -> arity (* raise NotArity if not an arity *)
val is_arity : env -> types -> bool