Skip to content

Commit ee60aff

Browse files
committed
fix documentation
1 parent ae1ff1c commit ee60aff

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

coq-builtin.elpi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,12 +1374,13 @@ external pred coq.elaborate-ty-skeleton i:term, o:sort, o:term,
13741374
% Flags for lazy, cbv, ... reductions
13751375
kind coq.redflag type.
13761376
type coq.redflags.beta coq.redflag.
1377-
type coq.redflags.delta coq.redflag.
1377+
type coq.redflags.delta coq.redflag. % if set then coq.redflags.const disables unfolding
13781378
type coq.redflags.match coq.redflag.
13791379
type coq.redflags.fix coq.redflag.
13801380
type coq.redflags.cofix coq.redflag.
13811381
type coq.redflags.zeta coq.redflag.
1382-
type coq.redflags.const constant -> coq.redflag.
1382+
type coq.redflags.const constant ->
1383+
coq.redflag. % enable/disable unfolding
13831384

13841385
% Set of flags for lazy, cbv, ... reductions
13851386
typeabbrev coq.redflags (ctype "coq.redflags").

src/coq_elpi_builtins.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ let reduction_kind = let open API.AlgebraicData in let open CClosure.RedFlags in
595595
K ("coq.redflags.beta", "",N,
596596
B fBETA,
597597
M (fun ~ok ~ko x -> if x = fBETA then ok else ko ()));
598-
K ("coq.redflags.delta", "",N,
598+
K ("coq.redflags.delta", "if set then coq.redflags.const disables unfolding",N,
599599
B fDELTA,
600600
M (fun ~ok ~ko x -> if x = fDELTA then ok else ko ()));
601601
K ("coq.redflags.match", "",N,
@@ -610,7 +610,7 @@ let reduction_kind = let open API.AlgebraicData in let open CClosure.RedFlags in
610610
K ("coq.redflags.zeta", "",N,
611611
B fZETA,
612612
M (fun ~ok ~ko x -> if x = fZETA then ok else ko ()));
613-
K("coq.redflags.const","",A(constant,N),
613+
K("coq.redflags.const","enable/disable unfolding",A(constant,N),
614614
B (function Constant x -> fCONST x | Variable x -> fVAR x),
615615
M (fun ~ok ~ko x -> nYI "readback for coq.redflags.const"));
616616
]

0 commit comments

Comments
 (0)