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...
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 741 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 44:31:58 |
| Calls: | 12,443 |
| Calls today: | 3 |
| Files: | 15,192 |
| Messages: | 6,537,086 |