Hi
how can I read input from the keyboard into a list
Assuming that the keyboard is attached to *standard-input*
(loop with eof = (gensym)
for thing = (read *standard-input* nil eof)
until (eq thing eof)
collect thing)
Mmmmmm, tastes like ALGOL...
Gauche Scheme:
(use gauche.generator)
(generator->list read)
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)