guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rfc: (ice-9 accumulate)


From: Thien-Thi Nguyen
Subject: Re: rfc: (ice-9 accumulate)
Date: Mon, 11 Jan 2010 06:51:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

() address@hidden (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 via email to

[Prev in Thread] Current Thread [Next in Thread]