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 14:26:46 +0100 Message-ID: <87fx6cdb6x.fsf@gnu.org> References: <873a2fo8wc.fsf@ambire.localdomain> <874omt79gs.fsf@gnu.org> <87aawl9okb.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 1263216562 26228 80.91.229.12 (11 Jan 2010 13:29:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2010 13:29:22 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jan 11 14:29:15 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 1NUKKH-0002qy-AM for guile-devel@m.gmane.org; Mon, 11 Jan 2010 14:28:57 +0100 Original-Received: from localhost ([127.0.0.1]:44043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUKKF-0000ph-GE for guile-devel@m.gmane.org; Mon, 11 Jan 2010 08:28:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUKK7-0000op-8V for guile-devel@gnu.org; Mon, 11 Jan 2010 08:28:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUKK2-0000nU-K4 for guile-devel@gnu.org; Mon, 11 Jan 2010 08:28:46 -0500 Original-Received: from [199.232.76.173] (port=53169 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUKK2-0000nR-I3 for guile-devel@gnu.org; Mon, 11 Jan 2010 08:28:42 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:56112) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUKK2-0004hV-0f for guile-devel@gnu.org; Mon, 11 Jan 2010 08:28:42 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUKJY-0002Rk-Fk for guile-devel@gnu.org; Mon, 11 Jan 2010 14:28:12 +0100 Original-Received: from laptop-147-210-128-170.labri.fr ([147.210.128.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jan 2010 14:28:12 +0100 Original-Received: from ludo by laptop-147-210-128-170.labri.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jan 2010 14:28:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: laptop-147-210-128-170.labri.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:Qg8eMn3ssnw5dNiYcbKnspZxhOM= 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:9853 Archived-At: Hi, Thien-Thi Nguyen writes: > Re (ice-9 foo) documentation, i took some pains to fill in the gaps w/ > Guile 1.4.x: > > - http://www.gnuvola.org/software/guile/doc/Module-Index.html > > Shall i submit those (the relevant ones) as doc patches? Would be nice, though I think it should be decided on a per-module basis. There are some modules that it may be worth deprecating and leaving undocumented, perhaps. > 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. > > Note that (ice-9 q) can add to the head of the queue, too. A quick scan > of doesn't > seem to show similar functionality. Yes, because it’s a FIFO. ;-) > 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. > > I'm sorry, i don't follow. What are you referring to as "the latter"? The ‘accumulate’ API doesn’t lead to more concise code, but it leads to “non-standard” code, which makes it unappealing to me. > Hmmm, would it be possible to install (ice-9 accumulate) as is, w/o > changes, somewhere under ${prefix}/share/guile (perhaps a site/ dir)? > Would Guile be able to locate and load it? Setting $GUILE_LOAD_PATH and $GUILE_LOAD_COMPILED_PATH appropriately should be enough. Thanks, Ludo’.