guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 03/07: doc: Fix implication of omitting optional argumen


From: Ludovic Courtès
Subject: [Guile-commits] 03/07: doc: Fix implication of omitting optional arguments.
Date: Sat, 26 Oct 2024 13:45:59 -0400 (EDT)

civodul pushed a commit to branch main
in repository guile.

commit bfff7e1d6d7adc1dad29b58860047a2286e4a6d2
Author: Tomas Volf <~@wolfsden.cz>
AuthorDate: Thu Jun 27 16:18:52 2024 +0200

    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>
---
 doc/ref/api-modules.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/ref/api-modules.texi b/doc/ref/api-modules.texi
index efe739a25..115ebbac2 100644
--- a/doc/ref/api-modules.texi
+++ b/doc/ref/api-modules.texi
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]