(loop for word = (read input nil) while word collect word)
which even the strictest LOOP-hater would have to agree
is clearer.
Another way:
(use srfi-42) ; list-ec
(list-ec (:port word input) word)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 164:12:30 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,517 |