doc: Describe -e (module) on equal footing with (@ ...).
* doc/ref/guile-invoke.texi, doc/ref/scheme-scripts.texi: describe the -e (module) shorthand as on equal footing with (@ ...) Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
de5cf50aba
commit
1026a76830
2 changed files with 72 additions and 8 deletions
|
|
@ -102,14 +102,10 @@ that is defined in the script. It can also be of the form @code{(@@
|
|||
@var{module-name} @var{symbol})}, and in that case, the symbol is
|
||||
looked up in the module named @var{module-name}.
|
||||
|
||||
For compatibility with some versions of Guile 1.4, you can also use the
|
||||
form @code{(symbol ...)} (that is, a list of only symbols that doesn't
|
||||
start with @code{@@}), which is equivalent to @code{(@@ (symbol ...)
|
||||
main)}, or @code{(symbol ...) symbol} (that is, a list of only symbols
|
||||
followed by a symbol), which is equivalent to @code{(@@ (symbol ...)
|
||||
symbol)}. We recommend to use the equivalent forms directly since they
|
||||
correspond to the @code{(@@ ...)} read syntax that can be used in
|
||||
normal code. See @ref{Using Guile Modules} and @ref{Scripting
|
||||
As a shorthand you can use the form @code{(symbol ...)}, that is, a list
|
||||
of only symbols that doesn't start with @code{@@}. It is equivalent to
|
||||
@code{(@@ @var{module-name} main)}, where @var{module-name} is
|
||||
@code{(symbol ...)} form. @xref{Using Guile Modules} and @ref{Scripting
|
||||
Examples}.
|
||||
|
||||
@item -ds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue