unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Re: rfc: (ice-9 accumulate)
Date: Mon, 11 Jan 2010 01:48:19 +0100	[thread overview]
Message-ID: <874omt79gs.fsf@gnu.org> (raw)
In-Reply-To: 873a2fo8wc.fsf@ambire.localdomain

Hello!

Thien-Thi Nguyen <ttn@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’.





  parent reply	other threads:[~2010-01-11  0:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-09 10:44 rfc: (ice-9 accumulate) Thien-Thi Nguyen
2010-01-09 21:55 ` Andy Wingo
2010-01-11  6:05   ` Thien-Thi Nguyen
2010-01-11 13:21     ` Ludovic Courtès
2010-01-11 14:16       ` Thien-Thi Nguyen
2010-01-11 20:57       ` Andy Wingo
2010-01-11  0:48 ` Ludovic Courtès [this message]
2010-01-11  5:51   ` Thien-Thi Nguyen
2010-01-11 13:26     ` Ludovic Courtès
2010-01-11 14:34       ` Thien-Thi Nguyen
2010-01-11 20:51       ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874omt79gs.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).