Sujet : Re: Newbie cluelessness continued...
De : Nobody447095 (at) *nospam* here-nor-there.org (B. Pym)
Groupes : comp.lang.lisp comp.lang.schemeDate : 07. Jul 2025, 05:36:38
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <104fism$2ods3$1@dont-email.me>
User-Agent : XanaNews/1.18.1.6
Tim Bradshaw wrote:
(with-open-file (...)
(loop for line = (read-line stream nil stream)
until (eql line stream)
collect line))
Gauche Scheme
(use srfi-42) ;; list-ec
(call-with-input-file "data.bak"
(lambda (port)
(list-ec (:port line port read-line) line)))