1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

doc: Fix implication of omitting optional arguments.

According to the previous wording, omitting all optional arguments led
to empty interface.  That however was not the case and was only a
documentation bug (as confirmed by wingo on IRC).  So let us fix that.

* doc/ref/api-modules.texi (Using Guile Modules): Fix implication of
omitting optional arguments.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Tomas Volf 2024-06-27 16:18:52 +02:00 committed by Ludovic Courtès
parent 130fdb0c8d
commit bfff7e1d6d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -212,10 +212,10 @@ and @var{seen} is the name in the using module. Note that @var{seen} is
also modified by @var{prefix} and @var{renamer}.
The @code{#:select}, @code{#:hide}, @code{#:prefix}, and
@code{#:renamer} clauses are optional. If all are omitted, the returned
interface has no bindings. If the @code{#:select} clause is omitted,
@var{prefix} and @var{renamer} operate on the used module's public
interface.
@code{#:renamer} clauses are optional. If all are omitted, this form
behaves identically to the previous one. If the @code{#:select} clause
is omitted, @var{prefix} and @var{renamer} operate on the used module's
public interface.
The @code{#:hide} operates on list of bindings in the module being
imported, before any renaming is performed. If both @code{#:select} and