[chicago-lisp] Working through Practical Common Lisp

Brian Downing bdowning at lavos.net
Mon Apr 18 03:58:51 UTC 2005


On Sun, Apr 17, 2005 at 09:37:21PM -0500, PJ Hyett wrote:
> I'm a total Lisp newbie working my way through the new Practical Common Lisp 
> book and I've encountered an odd problem. Using these functions:
> 
> (defun prompt-read (prompt)
> (format *query-io* "~a: " prompt)
> (force-output *query-io*)
> (read-line *query-io*))
> 
> (defun prompt-twice()
> (prompt read (prompt-read "hello"))
> 
> Running this on the REPL: (prompt-twice)
> 
> Gives me the following output:
> hello: hi
> hi:
> 
> ""
> NIL
> 
> The program exits before I have a change to enter anything on the hi: line. 
> Any Lisp guys out there wanna set me straight? I'm using Lisp in a Box on 
> Suse 9.2 Pro.

I think somebody reported a similar problem on slime-devel.  Apparently
the solution was to update Slime.

I'm copying Peter on this this so he can test it and update his Slime in
LispBox as appropriate.

-bcd
-- 
*** Brian Downing <bdowning at lavos dot net> 



More information about the Chicago-lisp mailing list