From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Grover Newsgroups: gmane.lisp.guile.user Subject: Re: mod_lisp for guile Date: Fri, 16 Dec 2005 08:21:10 -0500 Message-ID: <43A2BF46.4090407@mail.msen.com> References: <4329AE76.4000606@mail.msen.com> <871x3ohmv0.fsf@ossau.uklinux.net> <432ECF41.4080500@mail.msen.com> <87br2ozqul.fsf@ossau.uklinux.net> <432F80F2.4080605@mail.msen.com> <87oe3xgopj.fsf@ossau.uklinux.net> <43947703.9030401@mail.msen.com> <87y82mt09c.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134759983 14596 80.91.229.2 (16 Dec 2005 19:06:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 19:06:23 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Dec 16 20:06:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnKsa-0000r8-GN for guile-user@m.gmane.org; Fri, 16 Dec 2005 20:04:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnKtI-0006gZ-B1 for guile-user@m.gmane.org; Fri, 16 Dec 2005 14:05:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnGK4-0004Z1-MO for guile-user@gnu.org; Fri, 16 Dec 2005 09:12:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnGIo-00046d-Tg for guile-user@gnu.org; Fri, 16 Dec 2005 09:11:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnFV6-0000cM-BQ for guile-user@gnu.org; Fri, 16 Dec 2005 08:19:56 -0500 Original-Received: from [148.59.80.48] (helo=ww8.msen.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EnFXW-0006xQ-Ka for guile-user@gnu.org; Fri, 16 Dec 2005 08:22:26 -0500 X-Sent-To: Original-Received: from [192.168.1.221] (pool-151-196-6-194.balt.east.verizon.net [151.196.6.194]) (authenticated bits=0) by ww8.msen.com (8.13.4/8.13.4) with ESMTP id jBGDJ9Gj067657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Dec 2005 08:19:10 -0500 (EST) (envelope-from awgrover@mail.msen.com) User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en In-Reply-To: <87y82mt09c.fsf@ossau.uklinux.net> Received-SPF: Pass (sender authenticated); receiver=(null); client-ip=151.196.6.194; envelope-from= Received-SPF: Pass (sender authenticated); receiver=(null); client-ip=151.196.6.194; helo=[192.168.1.221] X-Milter: Spamilter (Reciever: ww8.msen.com; Sender-ip: 151.196.6.194; Sender-helo: [192.168.1.221]; ) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:4996 Archived-At: Neil Jerram wrote: > Alan Grover 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. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user