From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathieu Lirzin Newsgroups: gmane.lisp.guile.devel Subject: Re: rename from q to queue Date: Tue, 12 Apr 2016 11:41:42 +0200 Message-ID: <8737qrjh9l.fsf@gnu.org> References: <11ca009a333f511d7510d4bc8671e409@openmailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460454123 17011 80.91.229.3 (12 Apr 2016 09:42:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 09:42:03 +0000 (UTC) Cc: guile-devel@gnu.org To: rain1@openmailbox.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Apr 12 11:41:58 2016 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1apupW-0005jA-8J for guile-devel@m.gmane.org; Tue, 12 Apr 2016 11:41:54 +0200 Original-Received: from localhost ([::1]:45744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apupV-0005Er-Kp for guile-devel@m.gmane.org; Tue, 12 Apr 2016 05:41:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apupR-0005An-KQ for guile-devel@gnu.org; Tue, 12 Apr 2016 05:41:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apupO-0008CS-El for guile-devel@gnu.org; Tue, 12 Apr 2016 05:41:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apupO-0008CO-Av; Tue, 12 Apr 2016 05:41:46 -0400 Original-Received: from mek33-4-82-236-46-88.fbx.proxad.net ([82.236.46.88]:40378 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1apupN-00062h-PB; Tue, 12 Apr 2016 05:41:46 -0400 In-Reply-To: <11ca009a333f511d7510d4bc8671e409@openmailbox.org> (rain1@openmailbox.org's message of "Mon, 11 Apr 2016 17:29:40 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18281 Archived-At: Hello, rain1@openmailbox.org writes: > The following library uses a pun writing 'q' instead of 'queue': > > > I propose renaming the module from (ice-9 q) to (ice-9 queue) and > spelling queue throughout in the usual scheme style of using full > words. > > Attached is a patch that does this. If there is a positive consensus > on the rename I am happy to apply the change to all the documentation > and tests too. As stated on IRC I think it is an improvement to have a meaningful name for this module. However as pointed in other replies, It is not possible to implement it this way because (ice-9 q) is a public API. One way to not break backward compatibility, would be to move (ice-9 q) code in (ice-9 queue) and make (ice-9 q) use it and re-export every variable with its old name. Finally we will need a way to give the information that (ice-9 q) module is deprectated to the users. I am not sure what is the best way to achieve this. Maybe with: (eval-when (expand load eval) (display "..." (current-warning-port))) What do others think? -- Mathieu Lirzin