Hello! Thien-Thi Nguyen <t...@gnuvola.org> 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’.