• Re: Newbie cluelessness continued...

    From B. Pym@21:1/5 to Tim Bradshaw on Mon Jul 7 04:36:38 2025
    XPost: comp.lang.lisp

    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)))

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)