We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cd165a commit 47417acCopy full SHA for 47417ac
src/rocq_elpi_builtins.ml
@@ -2363,11 +2363,8 @@ denote the same x as before.|};
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
- (fun p _ ~depth ->
2368
- let c = Projection.constant p in
2369
- try !: (ignore (Structures.Structure.find_from_projection c); Constant c)
2370
- with Not_found -> raise No_clause)),
+ Easy "relates a primitive projection to its compatibility constant.")),
+ (fun p _ ~depth -> !: (Constant (Projection.constant p)))),
2371
DocAbove);
2372
2373
LPDoc "-- Sorts (and their universe level, if applicable) ----------------";
0 commit comments