From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.devel Subject: Re: rfc: (ice-9 accumulate) Date: Mon, 11 Jan 2010 06:51:32 +0100 Message-ID: <87aawl9okb.fsf@ambire.localdomain> References: <873a2fo8wc.fsf@ambire.localdomain> <874omt79gs.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263189437 12422 80.91.229.12 (11 Jan 2010 05:57:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2010 05:57:17 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jan 11 06:57:10 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 1NUDFF-0000jI-Vl for guile-devel@m.gmane.org; Mon, 11 Jan 2010 06:55:18 +0100 Original-Received: from localhost ([127.0.0.1]:53504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUDFG-0002eG-Ge for guile-devel@m.gmane.org; Mon, 11 Jan 2010 00:55:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUDF9-0002eB-VH for guile-devel@gnu.org; Mon, 11 Jan 2010 00:55:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUDF5-0002dz-VN for guile-devel@gnu.org; Mon, 11 Jan 2010 00:55:10 -0500 Original-Received: from [199.232.76.173] (port=42812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUDF5-0002dw-R7 for guile-devel@gnu.org; Mon, 11 Jan 2010 00:55:07 -0500 Original-Received: from smtp-out112.alice.it ([85.37.17.112]:4090) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUDF5-00027c-AP for guile-devel@gnu.org; Mon, 11 Jan 2010 00:55:07 -0500 Original-Received: from FBCMMO05.fbc.local ([192.168.184.136]) by smtp-out112.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 Jan 2010 06:55:05 +0100 Original-Received: from FBCMCL01B09.fbc.local ([192.168.171.26]) by FBCMMO05.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 Jan 2010 06:54:00 +0100 Original-Received: from ambire.localdomain ([79.41.72.175]) by FBCMCL01B09.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 Jan 2010 06:53:59 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1NUDBc-0001TA-Tx for guile-devel@gnu.org; Mon, 11 Jan 2010 06:51:32 +0100 In-Reply-To: <874omt79gs.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 11 Jan 2010 01:48:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-OriginalArrivalTime: 11 Jan 2010 05:53:59.0595 (UTC) FILETIME=[78587FB0:01CA9282] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:9850 Archived-At: () ludo@gnu.org (Ludovic Court=C3=A8s) () Mon, 11 Jan 2010 01:48:19 +0100 FWIW I=E2=80=99m personally not fond of =E2=80=98(ice-9 q)=E2=80=99 beca= use it=E2=80=99s undocumented it provides an imperative interface. I infer an "although" in that sentence. 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? I have a functional implementation of purely functional FIFO queues (F. W. Burton, "An Efficient Implementation of FIFO Queues"), which I=E2=80=99d 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. 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"? Heh, although I=E2=80=99m unconvinced about this one module I hope we ca= n find ways to help port your software! OK. I'll look for other ways to be lazy... 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? thi