unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: guile-devel@gnu.org
Subject: Re: rfc: (ice-9 accumulate)
Date: Mon, 11 Jan 2010 06:51:32 +0100	[thread overview]
Message-ID: <87aawl9okb.fsf@ambire.localdomain> (raw)
In-Reply-To: <874omt79gs.fsf@gnu.org> ("Ludovic Courtès"'s message of "Mon, 11 Jan 2010 01:48:19 +0100")

() ludo@gnu.org (Ludovic Courtès)
() Mon, 11 Jan 2010 01:48:19 +0100

   FWIW I’m personally not fond of ‘(ice-9 q)’ because it’s 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’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 <http://www.cl.cam.ac.uk/teaching/2000/FoundsCS/queues.ML> 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’m unconvinced about this one module I hope we can 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




  reply	other threads:[~2010-01-11  5:51 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
2010-01-11  5:51   ` Thien-Thi Nguyen [this message]
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=87aawl9okb.fsf@ambire.localdomain \
    --to=ttn@gnuvola.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).