• Re: Newbie-solved a problem in ANSI common lisp

    From B. Pym@21:1/5 to Ken Tilton on Tue Jun 18 13:43:57 2024
    Ken Tilton wrote:


    ...or go green on the parens:

    (loop for n upfrom 0
    for o in l
    collecting (+ o n))

    Gauche Scheme

    (map + '(20 30 40 50) (lrange 0))

    ===>
    (20 31 42 53)

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