[racket] flush is not enough, a list is needed

From: Laurent (laurent.orseau at gmail.com)
Date: Fri Nov 2 14:48:15 EDT 2012

You're using just `write', so you need some whitespace between items:
> > (with-input-from-string
>       (with-output-to-string (λ() (write 'x) (write 'y)))
>     read)
> 'xy

Wow, thanks a lot, I would have never thought about that. I thought that
'write' was sending data, not mere characters.
Writing a space after each output indeed solves the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121102/d0e5eb80/attachment.html>

Posted on the users mailing list.