Skip to content

Commit 3a64652

Browse files
committed
fixup optcomp
1 parent 4721a2f commit 3a64652

File tree

9 files changed

+316
-189
lines changed

9 files changed

+316
-189
lines changed

builtin-doc/coq-builtin-synterp.elpi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,29 @@ kind upoly-decl-cumul type.
1111
% -- Misc ---------------------------------------------------------
1212

1313
% [coq.info ...] Prints an info message
14-
external type coq.info variadic any fprop.
14+
external type coq.info variadic any (func).
1515

1616
% [coq.notice ...] Prints a notice message
17-
external type coq.notice variadic any fprop.
17+
external type coq.notice variadic any (func).
1818

1919
% [coq.say ...] Prints a notice message
20-
external type coq.say variadic any fprop.
20+
external type coq.say variadic any (func).
2121

2222
% [coq.debug ...] Prints a debug message
23-
external type coq.debug variadic any fprop.
23+
external type coq.debug variadic any (func).
2424

2525
% [coq.warn ...] Prints a generic warning message
26-
external type coq.warn variadic any fprop.
26+
external type coq.warn variadic any (func).
2727

2828
% [coq.warning Category Name ...]
2929
% Prints a warning message with a Name and Category which can be used
3030
% to silence this warning or turn it into an error. See coqc -w command
3131
% line option
32-
external type coq.warning string -> string -> variadic any fprop.
32+
external type coq.warning string -> string -> variadic any (func).
3333

3434
% [coq.error ...] Prints and *aborts* the program. It is a fatal error for
3535
% Elpi and Ltac
36-
external type coq.error variadic any fprop.
36+
external type coq.error variadic any (func).
3737

3838
% [coq.version VersionString Major Minor Patch] Fetches the version of Coq,
3939
% as a string and as 3 numbers

builtin-doc/coq-builtin.elpi

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -546,29 +546,29 @@ external symbol off : coercion-status = "1".
546546
% -- Misc ---------------------------------------------------------
547547

548548
% [coq.info ...] Prints an info message
549-
external type coq.info variadic any fprop.
549+
external type coq.info variadic any (func).
550550

551551
% [coq.notice ...] Prints a notice message
552-
external type coq.notice variadic any fprop.
552+
external type coq.notice variadic any (func).
553553

554554
% [coq.say ...] Prints a notice message
555-
external type coq.say variadic any fprop.
555+
external type coq.say variadic any (func).
556556

557557
% [coq.debug ...] Prints a debug message
558-
external type coq.debug variadic any fprop.
558+
external type coq.debug variadic any (func).
559559

560560
% [coq.warn ...] Prints a generic warning message
561-
external type coq.warn variadic any fprop.
561+
external type coq.warn variadic any (func).
562562

563563
% [coq.warning Category Name ...]
564564
% Prints a warning message with a Name and Category which can be used
565565
% to silence this warning or turn it into an error. See coqc -w command
566566
% line option
567-
external type coq.warning string -> string -> variadic any fprop.
567+
external type coq.warning string -> string -> variadic any (func).
568568

569569
% [coq.error ...] Prints and *aborts* the program. It is a fatal error for
570570
% Elpi and Ltac
571-
external type coq.error variadic any fprop.
571+
external type coq.error variadic any (func).
572572

573573
% [coq.version VersionString Major Minor Patch] Fetches the version of Coq,
574574
% as a string and as 3 numbers
@@ -1620,7 +1620,7 @@ kind ltac1-tactic type.
16201620
% [coq.ltac.fail Level ...] Interrupts the Elpi program and calls Ltac's
16211621
% fail Level Msg, where Msg is the printing of the remaining arguments.
16221622
% Level can be left unspecified and defaults to 0
1623-
external type coq.ltac.fail int -> variadic any fprop.
1623+
external type coq.ltac.fail int -> variadic any (func).
16241624

16251625
% [coq.ltac.collect-goals T Goals ShelvedGoals]
16261626
% Turns the holes in T into Goals.
@@ -1996,7 +1996,7 @@ external func coq.gref.set.cardinal coq.gref.set -> int.
19961996

19971997
% [coq.gref.set.filter M F M1] Filter M w.r.t. the predicate F
19981998
external func coq.gref.set.filter coq.gref.set,
1999-
(gref -> prop) -> coq.gref.set.
1999+
(gref -> (func)) -> coq.gref.set.
20002000

20012001
% [coq.gref.set.map M F M1] Map M w.r.t. the predicate F
20022002
external func coq.gref.set.map coq.gref.set,
@@ -2009,7 +2009,7 @@ external func coq.gref.set.fold coq.gref.set, A,
20092009
% [coq.gref.set.partition M F M1 M2] Partitions M w.r.t. the predicate F, M1
20102010
% is where F holds
20112011
external func coq.gref.set.partition coq.gref.set,
2012-
(gref -> prop) -> coq.gref.set,
2012+
(gref -> (func)) -> coq.gref.set,
20132013
coq.gref.set.
20142014

20152015
% CAVEAT: the type parameter of coq.gref.map must be a closed term
@@ -2095,7 +2095,7 @@ external func coq.univ.set.cardinal coq.univ.set -> int.
20952095

20962096
% [coq.univ.set.filter M F M1] Filter M w.r.t. the predicate F
20972097
external func coq.univ.set.filter coq.univ.set,
2098-
(univ -> prop) -> coq.univ.set.
2098+
(univ -> (func)) -> coq.univ.set.
20992099

21002100
% [coq.univ.set.map M F M1] Map M w.r.t. the predicate F
21012101
external func coq.univ.set.map coq.univ.set,
@@ -2108,7 +2108,7 @@ external func coq.univ.set.fold coq.univ.set, A,
21082108
% [coq.univ.set.partition M F M1 M2] Partitions M w.r.t. the predicate F, M1
21092109
% is where F holds
21102110
external func coq.univ.set.partition coq.univ.set,
2111-
(univ -> prop) -> coq.univ.set,
2111+
(univ -> (func)) -> coq.univ.set,
21122112
coq.univ.set.
21132113

21142114
% CAVEAT: the type parameter of coq.univ.map must be a closed term
@@ -2199,7 +2199,7 @@ external func coq.univ.variable.set.cardinal coq.univ.variable.set -> int.
21992199

22002200
% [coq.univ.variable.set.filter M F M1] Filter M w.r.t. the predicate F
22012201
external func coq.univ.variable.set.filter coq.univ.variable.set,
2202-
(univ.variable -> prop) -> coq.univ.variable.set.
2202+
(univ.variable -> (func)) -> coq.univ.variable.set.
22032203

22042204
% [coq.univ.variable.set.map M F M1] Map M w.r.t. the predicate F
22052205
external func coq.univ.variable.set.map coq.univ.variable.set,
@@ -2212,7 +2212,7 @@ external func coq.univ.variable.set.fold coq.univ.variable.set, A,
22122212
% [coq.univ.variable.set.partition M F M1 M2] Partitions M w.r.t. the
22132213
% predicate F, M1 is where F holds
22142214
external func coq.univ.variable.set.partition coq.univ.variable.set,
2215-
(univ.variable -> prop) -> coq.univ.variable.set,
2215+
(univ.variable -> (func)) -> coq.univ.variable.set,
22162216
coq.univ.variable.set.
22172217

22182218
% CAVEAT: the type parameter of coq.univ.variable.map must be a closed

0 commit comments

Comments
 (0)