Skip to content

Commit ff98925

Browse files
committed
update builtins
1 parent ad0b8dc commit ff98925

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

builtin-doc/coq-builtin.elpi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,8 @@ external pred coq.version o:string, o:int, o:int, o:int.
558558

559559
% To make the API more precise we use different data types for the names
560560
% of global objects.
561-
% Note: [ctype \"bla\"] is an opaque data type and by convention it is
562-
% written [@bla].
561+
% Note: [ctype "bla"] is an opaque data type and by convention it is written
562+
% [@bla].
563563

564564
% Global constant name
565565
typeabbrev constant (ctype "constant").

builtin-doc/elpi-builtin.elpi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,9 @@ pred ignore-failure! i:prop.
449449
ignore-failure! P :- P, !.
450450
ignore-failure! _.
451451

452+
pred once i:prop.
453+
once P :- P, !.
454+
452455
% [assert! C M] takes the first success of C or fails with message M
453456
pred assert! i:prop, i:string.
454457
assert! Cond Msg :- (Cond ; fatal-error-w-data Msg Cond), !.

0 commit comments

Comments
 (0)