[Top][All Lists]

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

Re: mod_lisp for guile

From: Alan Grover
Subject: Re: mod_lisp for guile
Date: Fri, 16 Dec 2005 08:21:10 -0500
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)

Neil Jerram wrote:
> Alan Grover <address@hidden> writes:
>>The lazy-ness is really in taking advantage of patterns for list
>>processing. Perhaps I didn't give an example like:
>>      (define list-of-http-transactions (mod_lisp some-port-listener))
>>      (for-each handle-request list-of-http-transactions)
> That's kind of neat, but doesn't actually feel very natural to me.
> When I have socket input to deal with, I typically want (or rather
> need) to select on the socket along with other stuff, and then
> dispatch the next request when select indicates data available.  I
> don't see how that could naturally be rewritten in terms of list
> operations, or that it would be helpful to do so.

Could you talk a little bit more about the "select with other stuff"
pattern? What kind of stuff?

> Yes, indeed.  Guile does come with a lazy list library, though - have
> you seen (ice-9 streams)?

I don't think I've looked at it yet.

reply via email to

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