From 779b8a105e3e06bde673c1abc4f918101c113fe2 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Mon, 9 Dec 2019 12:17:00 +0100 Subject: Updating reference manual and adding a change log entry. Co-Authored-By: Théo Zimmermann --- .../11261-master+implicit-type-used-printing.rst | 5 +++++ doc/sphinx/language/gallina-extensions.rst | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 doc/changelog/02-specification-language/11261-master+implicit-type-used-printing.rst (limited to 'doc') diff --git a/doc/changelog/02-specification-language/11261-master+implicit-type-used-printing.rst b/doc/changelog/02-specification-language/11261-master+implicit-type-used-printing.rst new file mode 100644 index 0000000000..51818c666b --- /dev/null +++ b/doc/changelog/02-specification-language/11261-master+implicit-type-used-printing.rst @@ -0,0 +1,5 @@ +- **Added:** + :cmd:`Implicit Types` are now taken into account for printing. To inhibit it, + unset the :flag:`Printing Use Implicit Types` flag + (`#11261 `_, + by Hugo Herbelin, granting `#10366 `_). diff --git a/doc/sphinx/language/gallina-extensions.rst b/doc/sphinx/language/gallina-extensions.rst index f0bbaed8f3..9686500a35 100644 --- a/doc/sphinx/language/gallina-extensions.rst +++ b/doc/sphinx/language/gallina-extensions.rst @@ -2208,6 +2208,13 @@ or :g:`m` to the type :g:`nat` of natural numbers). Adds blocks of implicit types with different specifications. +.. flag:: Printing Use Implicit Types + + By default, the type of bound variables is not printed when + the variable name is associated to an implicit type which matches the + actual type of the variable. This feature can be deactivated by + turning this flag off. + .. _implicit-generalization: Implicit generalization -- cgit v1.2.3