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
_______________________________________________
Guile-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-user