From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: rename from q to queue Date: Fri, 15 Apr 2016 10:10:34 +0200 Message-ID: <874mb3cmx1.fsf@gnu.org> References: <11ca009a333f511d7510d4bc8671e409@openmailbox.org> <8737qrjh9l.fsf@gnu.org> <87y48g8eef.fsf@gnu.org> <874mb4htlj.fsf@dustycloud.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1460707870 12193 80.91.229.3 (15 Apr 2016 08:11:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Apr 2016 08:11:10 +0000 (UTC) Cc: guile-devel@gnu.org To: Christopher Allan Webber Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 15 10:11:10 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 1aqyqJ-0004NA-WF for guile-devel@m.gmane.org; Fri, 15 Apr 2016 10:11:08 +0200 Original-Received: from localhost ([::1]:56997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqyqJ-00011G-BP for guile-devel@m.gmane.org; Fri, 15 Apr 2016 04:11:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqypu-0000xH-Cr for guile-devel@gnu.org; Fri, 15 Apr 2016 04:10:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqypp-00044U-CS for guile-devel@gnu.org; Fri, 15 Apr 2016 04:10:42 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqypp-00044O-9P; Fri, 15 Apr 2016 04:10:37 -0400 Original-Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:58942 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aqypo-0002yV-JW; Fri, 15 Apr 2016 04:10:36 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Germinal an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <874mb4htlj.fsf@dustycloud.org> (Christopher Allan Webber's message of "Thu, 14 Apr 2016 14:35:04 -0500") 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:18288 Archived-At: Christopher Allan Webber skribis: > Ludovic Court=C3=A8s writes: [...] >> We could do a quick hack to iterate over the exported bindings, >> re-export them, and print a message. >> >> However, I think it would be best to have a mechanism in the module >> abstraction to /declare/ renames. That would allow both the compiler >> and the run-time support to emit an appropriate warning. >> >> This would require something like adding a special field to =E2=80=98mod= ule=E2=80=99 >> records, such that one can write, say: >> >> (define-module (ice-9 q) >> #:superseded-by (ice-9 queue)) >> >> With that in place, it will become much easier to discuss about ice-9 >> renames, IMO. >> >> Thoughts? >> >> Thanks, >> Ludo=E2=80=99. > > I think that would be useful. There's been talk about renaminig things > from (ice-9) into a (guile) namespace. Likewise aliasing things from > (srfi) to something more human-readable. Are the rename and aliasing > thing the same step or two different things? Module aliases and deprecation would probably be implemented similarly, so there=E2=80=99s a connection between the two. Ludo=E2=80=99.