• Re: All paths through a tree

    From B. Pym@21:1/5 to Pascal Bourguignon on Thu Jun 20 02:35:32 2024
    Pascal Bourguignon wrote:

    When you have a vector, that is a repeatition of items of some kind,
    the procedure processing it will be a repeating loop:

    (defun process-vector (v)
    (loop :for i :from 0 :below (length v)
    :do (process-item (aref v i))))

    Gauche Scheme

    (vector-for-each print '#(a b c))

    ===>
    a
    b
    c

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