chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Spiffy


From: Dan Muresan
Subject: Re: [Chicken-users] Spiffy
Date: Sat, 9 Dec 2006 22:27:16 +0200

More remarks:

* even with debug: #f, spiffy still logs 404's to stdout (or stderror
-- not sure). This wouldn't be too bad, but for some other reason, it
prevents the process from running in the background: whenever an
output action is attempted, the shell tells me the job has been
stopped. Possibly chicken tries to access stdin when writing?

* sxml->html breaks naming conventions and makes it hard to use the
macro define-http-resource. sxml->html is not a function, but a
procedure with side effects (it displays the result).
define-http-resource expects a value to be returned. Bonus: a
hard-to-debug situation where sxml->html writes its output (plus some
incomplete headers) and returns #<unspecified>, which
define-http-resource dutifully appends to the stream (with the rest of
the headers).

--
Dan Muresan
http://alumnus.caltech.edu/~muresan/




reply via email to

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