From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?RnJhbsOnb2lz?= J Newsgroups: gmane.lisp.guile.devel Subject: [PATCH] doc: local definitions always take precedence over use-modules Date: Mon, 13 Dec 2021 15:34:45 +0100 Message-ID: <20211213143445.z4ggaxk7rl7jphup@noop.avalenn.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16729"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Dec 13 15:59:50 2021 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwmnt-0004AW-4I for guile-devel@m.gmane-mx.org; Mon, 13 Dec 2021 15:59:49 +0100 Original-Received: from localhost ([::1]:46358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwmns-0007Dx-1O for guile-devel@m.gmane-mx.org; Mon, 13 Dec 2021 09:59:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwmSz-0004V3-Q4 for guile-devel@gnu.org; Mon, 13 Dec 2021 09:38:14 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:38687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwmSx-000798-4t for guile-devel@gnu.org; Mon, 13 Dec 2021 09:38:13 -0500 Original-Received: (Authenticated sender: francois@avalenn.eu) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 7F1B84000F; Mon, 13 Dec 2021 14:38:02 +0000 (UTC) Content-Disposition: inline Received-SPF: none client-ip=217.70.183.194; envelope-from=francois@avalenn.eu; helo=relay2-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 13 Dec 2021 09:59:34 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20999 Archived-At: * doc/ref/api-modules.texi (Using Guile Modules): improve wording on example about conflict between local definitions and imported ones --- doc/ref/api-modules.texi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/ref/api-modules.texi b/doc/ref/api-modules.texi index 05a19cc16..8e0f41c25 100644 --- a/doc/ref/api-modules.texi +++ b/doc/ref/api-modules.texi @@ -113,12 +113,12 @@ Here, the interface specification is @code{(ice-9 popen)}, and the result is that the current module now has access to @code{open-pipe}, @code{close-pipe}, @code{open-input-pipe}, and so on (@pxref{Pipes}). -Note in the previous example that if the current module had already -defined @code{open-pipe}, that definition would be overwritten by the -definition in @code{(ice-9 popen)}. For this reason (and others), there -is a second variation of interface specification that not only names a -module to be accessed, but also selects bindings from it and renames -them to suit the current module's needs. For example: +Note in the previous example that if the current module already defines +@code{open-pipe}, that definition has precedence over the definition in +@code{(ice-9 popen)} we try to import. For this reason (and others), +there is a second variation of interface specification that not only +names a module to be accessed, but also selects bindings from it and +renames them to suit the current module's needs. For example: @cindex binding renamer @lisp -- 2.32.0