aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/addendum/program.rst
diff options
context:
space:
mode:
authorThéo Zimmermann2018-12-05 12:33:48 +0100
committerThéo Zimmermann2018-12-05 12:33:48 +0100
commit23f2222bb2c97110b6e55835fd19528177e41ff3 (patch)
treee18757b500abeeab710c99f506d79259ba18260e /doc/sphinx/addendum/program.rst
parentcb2e08487b4093e87aabb1ce646402d14ca4d9f6 (diff)
parent9903f6a7f86661549def884a0050d0f4537d52d7 (diff)
Merge PR #8911: Document undocumented flags and options
Diffstat (limited to 'doc/sphinx/addendum/program.rst')
-rw-r--r--doc/sphinx/addendum/program.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/sphinx/addendum/program.rst b/doc/sphinx/addendum/program.rst
index 429dcbee69..56f84d0ff0 100644
--- a/doc/sphinx/addendum/program.rst
+++ b/doc/sphinx/addendum/program.rst
@@ -95,6 +95,14 @@ coercions.
(the option is on by default). Coercion of subset types and pairs is still
active in this case.
+.. flag:: Program Mode
+
+ Enables the program mode, in which 1) typechecking allows subset coercions and
+ 2) the elaboration of pattern matching of :cmd:`Program Fixpoint` and
+ :cmd:`Program Definition` act
+ like Program Fixpoint/Definition, generating obligations if there are
+ unresolved holes after typechecking.
+
.. _syntactic_control:
Syntactic control over equalities