diff options
author | Anton Trunov <anton.a.trunov@gmail.com> | 2018-04-05 14:55:59 +0200 |
---|---|---|
committer | Anton Trunov <anton.a.trunov@gmail.com> | 2018-04-05 19:22:40 +0200 |
commit | 31c04ca25cbb9963d74060746ba57460d98acbfe (patch) | |
tree | 0612f8fa94489918ae9fb456659b454926630ab7 /doc/sphinx/language/gallina-extensions.rst | |
parent | 332efef9073eadb4907cd4e9ee1ba17bcc16afc6 (diff) |
Sphinx docs: clarify strict implicit arguments
Diffstat (limited to 'doc/sphinx/language/gallina-extensions.rst')
-rw-r--r-- | doc/sphinx/language/gallina-extensions.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/sphinx/language/gallina-extensions.rst b/doc/sphinx/language/gallina-extensions.rst index 1d6c11b38..9afeaced9 100644 --- a/doc/sphinx/language/gallina-extensions.rst +++ b/doc/sphinx/language/gallina-extensions.rst @@ -1477,7 +1477,9 @@ For instance, the first argument of in module ``List.v`` is strict because :g:`list` is an inductive type and :g:`A` will always be inferable from the type :g:`list A` of the third argument of -:g:`cons`. On the contrary, the second argument of a term of type +:g:`cons`. Also, the first argument of :g:`cons` is strict with respect to the second one, +since the first argument is exactly the type of the second argument. +On the contrary, the second argument of a term of type :: forall P:nat->Prop, forall n:nat, P n -> ex nat P |