diff options
| author | Théo Zimmermann | 2020-03-09 22:54:23 +0100 |
|---|---|---|
| committer | Théo Zimmermann | 2020-03-09 22:54:23 +0100 |
| commit | 43318e8b781c7ecbd17cd9d6cf61bc714e9613bf (patch) | |
| tree | 22aebb30571e9ecdbeae2d7d98fbeecbb35f00ac /doc/sphinx/user-extensions | |
| parent | 45ef2a204d2ed5054e7a123aa62cdda58c6c9bec (diff) | |
| parent | d9ab85ffae85e756b2ed94c3b3fe655d3b541aaf (diff) | |
Merge PR #11720: Remove some productionlists
Ack-by: Zimmi48
Diffstat (limited to 'doc/sphinx/user-extensions')
| -rw-r--r-- | doc/sphinx/user-extensions/syntax-extensions.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinx/user-extensions/syntax-extensions.rst b/doc/sphinx/user-extensions/syntax-extensions.rst index fd95a5cef4..669975ba7e 100644 --- a/doc/sphinx/user-extensions/syntax-extensions.rst +++ b/doc/sphinx/user-extensions/syntax-extensions.rst @@ -947,7 +947,7 @@ notations are given below. The optional :production:`scope` is described in .. prodn:: decl_notations ::= where @decl_notation {* and @decl_notation } - decl_notation ::= @string := @term1_extended [(only parsing)] {? : @ident } + decl_notation ::= @string := @one_term {? ( only parsing ) } {? : @ident } .. note:: No typing of the denoted expression is performed at definition time. Type checking is done only at the time of use of the notation. @@ -1194,7 +1194,7 @@ Binding arguments of a constant to an interpretation scope Binding types of arguments to an interpretation scope +++++++++++++++++++++++++++++++++++++++++++++++++++++ -.. cmd:: Bind Scope @scope with @qualid +.. cmd:: Bind Scope @ident with {+ @class } When an interpretation scope is naturally associated to a type (e.g. the scope of operations on the natural numbers), it may be convenient to bind it |
