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: | 766 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 10:56:35 |
| Calls: | 12,762 |
| Calls today: | 6 |
| Files: | 15,362 |
| Messages: | 6,557,073 |