You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/rocq_elpi_builtins.ml
+35-7Lines changed: 35 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2361,13 +2361,30 @@ denote the same x as before.|};
2361
2361
DocAbove);
2362
2362
2363
2363
MLCode(Pred("coq.env.primitive-projection?",
2364
-
In(projection, "Projection",
2365
-
Out(constant, "Compatibility constant",
2366
-
Easy "relates a projection to its compatibility constant.")),
2367
-
(funp_~depth ->
2368
-
letc = Projection.constantpin
2369
-
try !: (ignore (Structures.Structure.find_from_projectionc); Constant c)
2370
-
with Not_found -> raise No_clause)),
2364
+
InOut(B.ioargprojection, "Projection",
2365
+
InOut(B.ioargconstant, "Compatibility constant",
2366
+
Out(int, "Index",
2367
+
Read(global, "Relates a primitive projection to its compatibility constant. Index is set to the constructor argument extracted by the projection (starting from 0).")))),
0 commit comments