guile-user
[Top][All Lists]
Advanced

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

Re: awg-mod_lisp: mod_lisp for R5RS Scheme


From: Alan Grover
Subject: Re: awg-mod_lisp: mod_lisp for R5RS Scheme
Date: Tue, 20 Sep 2005 11:11:08 -0400
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

R. Mattes wrote:
> On Tue, 2005-09-20 at 08:06 -0400, Alan Grover wrote:
>>By "fails", I assume you mean because of the awg-debug module.
> 
> 
> No - since your '(or (and' construct always evaluates to "once"
> the server only answers _one_ request and the exits. 

Well, it worked right for "once". But, anyway, I just released a fix.

>>Try with "thread", and the test daemon should keep listening now.
> 
> Probably not since fn-name will always be "once". 

I released the fix at the same time as I wrote you, which is what I
meant by "now". I should have written "in the new release."

> BTW, there seems
> to be a bug with the argument handling as well: your code defines
> main with a 'rest' argument. The command line args are passed in as
> a list already so you end up with a list-o-list.
> So 'args' ends up being '(("mod_lisp-for-guile.scm" "thread"))'.
> Note also that the first member of args is the program name.
> So you need to change 
> 
> (define (main .args) .. => (define (main args) ...
> 
> and (car args) => (cadr args)

Yea, I caught that. Thanks.

-- Alan Grover




reply via email to

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