diff options
| author | Théo Zimmermann | 2020-03-27 16:48:22 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2020-04-13 15:18:18 +0200 |
| commit | 4ca67150e972899bc84e78c589833ba06a66aa21 (patch) | |
| tree | 46253957ab62b212e882362704b1c84d705236c9 /doc/sphinx/language | |
| parent | ff99fb50b26ea4065daa8ae5b1c98ad5e6ba659a (diff) | |
Update syntax of Import / Export in documentation.
Diffstat (limited to 'doc/sphinx/language')
| -rw-r--r-- | doc/sphinx/language/gallina-extensions.rst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/sphinx/language/gallina-extensions.rst b/doc/sphinx/language/gallina-extensions.rst index cbdfdab1ca..57c8683aaa 100644 --- a/doc/sphinx/language/gallina-extensions.rst +++ b/doc/sphinx/language/gallina-extensions.rst @@ -422,7 +422,12 @@ are now available through the dot notation. If :n:`@module_binder`\s are specified, declares a functor with parameters given by the list of :token:`module_binder`\s. -.. cmd:: Import {+ @qualid } +.. cmd:: Import {+ @filtered_import } + + .. insertprodn filtered_import filtered_import + + .. prodn:: + filtered_import ::= @qualid {? ( {+, @qualid {? ( .. ) } } ) } If :token:`qualid` denotes a valid basic module (i.e. its module type is a signature), makes its components available by their short names. @@ -501,7 +506,7 @@ are now available through the dot notation. Fail Check B.U. Check A.B.U. -.. cmd:: Export {+ @qualid } +.. cmd:: Export {+ @filtered_import } :name: Export Similar to :cmd:`Import`, except that when the module containing this command |
