• Re: mapcar using a function with one argument fixed

    From B. Pym@Nobody447095@here-nor-there.org to comp.lang.lisp on Thu Jun 19 22:29:50 2025
    From Newsgroup: comp.lang.lisp

    Rainer Joswig wrote:

    (LOOP FOR x IN list-for-xs AND y IN list-for-ys
    COLLECT (my-function a y x b))

    Scheme:

    (map
    (lambda(x y) (list x '< y))
    '(2 3 4 5)
    '(6 7 8 9))

    ===>
    ((2 < 6) (3 < 7) (4 < 8) (5 < 9))
    --- Synchronet 3.21d-Linux NewsLink 1.2