From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: rfc: (ice-9 accumulate) Date: Mon, 11 Jan 2010 01:48:19 +0100 Message-ID: <874omt79gs.fsf@gnu.org> References: <873a2fo8wc.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1263170941 8158 80.91.229.12 (11 Jan 2010 00:49:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2010 00:49:01 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jan 11 01:48:54 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NU8Sj-0003sW-TX for guile-devel@m.gmane.org; Mon, 11 Jan 2010 01:48:54 +0100 Original-Received: from localhost ([127.0.0.1]:60272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NU8Sk-0001Xf-Ik for guile-devel@m.gmane.org; Sun, 10 Jan 2010 19:48:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NU8Sh-0001XS-HW for guile-devel@gnu.org; Sun, 10 Jan 2010 19:48:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NU8Sb-0001X4-UU for guile-devel@gnu.org; Sun, 10 Jan 2010 19:48:50 -0500 Original-Received: from [199.232.76.173] (port=43811 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NU8Sb-0001X1-Re for guile-devel@gnu.org; Sun, 10 Jan 2010 19:48:45 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:60549) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NU8Sb-0003uB-F5 for guile-devel@gnu.org; Sun, 10 Jan 2010 19:48:45 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NU8SX-0003qD-Eb for guile-devel@gnu.org; Mon, 11 Jan 2010 01:48:41 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jan 2010 01:48:41 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jan 2010 01:48:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?iso-8859-1?Q?Niv=F4se?= an 218 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:+Qa51WipxENnmW5KnXtIQ5PQCjo= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9846 Archived-At: Hello! Thien-Thi Nguyen writes: > Would there be any interest in adding (ice-9 accumulate) to Guile? > > - http://www.gnuvola.org/software/guile/doc/Efficient-Accumulation.html I’m currently unconvinced. > I can see several arguments against doing so: > > - It is a thin layer around (ice-9 q) functionality; FWIW I’m personally not fond of ‘(ice-9 q)’ because it’s undocumented it provides an imperative interface. I have a functional implementation of purely functional FIFO queues (F. W. Burton, "An Efficient Implementation of FIFO Queues"), which I’d rather push instead of an imperative one. Besides, the first idiom at [0] is about as concise as the one that uses this API; in addition, it is likely to be more widely understood than the latter. This makes this API unappealing to me. [0] http://www.gnuvola.org/software/guile/doc/Efficient-Accumulation.html [...] > Of course, the primary argument *for* adding it would be to make porting > my stuff to Guile easier. That's a selfish argument, so take it FWIW. Heh, although I’m unconvinced about this one module I hope we can find ways to help port your software! Thanks, Ludo’.