[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rfc: (ice-9 accumulate)
From: |
Ludovic Courtès |
Subject: |
Re: rfc: (ice-9 accumulate) |
Date: |
Mon, 11 Jan 2010 01:48:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hello!
Thien-Thi Nguyen <address@hidden> 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’.