aboutsummaryrefslogtreecommitdiff
path: root/kernel/cPrimitives.mli
diff options
context:
space:
mode:
authorGuillaume Melquiond2021-03-25 11:27:05 +0100
committerGuillaume Melquiond2021-03-26 15:18:28 +0100
commit5f6e788e0f404755d6cd1494e18e38758865188f (patch)
tree3f1b19ebb52dc24996206e35e3e579d6920c0af1 /kernel/cPrimitives.mli
parentc2ed2e395f2164ebbc550e70899c49af23e1ad1e (diff)
Split the return type away from the signature of primitive operations.
This avoids having to drop the last element of the signature in the common case.
Diffstat (limited to 'kernel/cPrimitives.mli')
-rw-r--r--kernel/cPrimitives.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cPrimitives.mli b/kernel/cPrimitives.mli
index de90179726..6661851d53 100644
--- a/kernel/cPrimitives.mli
+++ b/kernel/cPrimitives.mli
@@ -140,8 +140,8 @@ val parse_op_or_type : ?loc:Loc.t -> string -> op_or_type
val univs : t -> Univ.AUContext.t
-val types : t -> Constr.rel_context * ind_or_type list
-(** Parameters * Reduction relevant arguments and output type
+val types : t -> Constr.rel_context * ind_or_type list * ind_or_type
+(** Parameters * Reduction relevant arguments * output type
XXX we could reify universes in ind_or_type (currently polymorphic types
like array are assumed to use universe 0). *)