diff options
| author | coqbot-app[bot] | 2020-11-18 22:00:25 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-18 22:00:25 +0000 |
| commit | 7ebdf6bdbca2be4fc4ecddff0ac97bbb41c80cd0 (patch) | |
| tree | b12b82d14a9249a671b27e84caf12cda999531c6 /doc/sphinx/addendum/program.rst | |
| parent | fea83b040f285e4316fd9d63d4c940d9fe444d91 (diff) | |
| parent | efa6673158f5eaa3fc11c0b3d1e3285c4acc129a (diff) | |
Merge PR #13312: [attributes] Allow boolean, single-value attributes.
Reviewed-by: Zimmi48
Reviewed-by: SkySkimmer
Ack-by: gares
Diffstat (limited to 'doc/sphinx/addendum/program.rst')
| -rw-r--r-- | doc/sphinx/addendum/program.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/sphinx/addendum/program.rst b/doc/sphinx/addendum/program.rst index 298ea4b4ab..104f84a253 100644 --- a/doc/sphinx/addendum/program.rst +++ b/doc/sphinx/addendum/program.rst @@ -99,15 +99,15 @@ coercions. Enables the program mode, in which 1) typechecking allows subset coercions and 2) the elaboration of pattern matching of :cmd:`Fixpoint` and - :cmd:`Definition` act as if the :attr:`program` attribute had been + :cmd:`Definition` acts as if the :attr:`program` attribute has been used, generating obligations if there are unresolved holes after typechecking. -.. attr:: program +.. attr:: program{? = {| yes | no } } :name: program; Program - Allows using the Program mode on a specific - definition. An alternative syntax is to use the legacy ``Program`` + This :term:`boolean attribute` allows using or disabling the Program mode on a specific + definition. An alternative and commonly used syntax is to use the legacy ``Program`` prefix (cf. :n:`@legacy_attr`) as it is elsewhere in this chapter. .. _syntactic_control: |
