• Re: Remove the occurences of a given element from a list.

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

    Pascal J. Bourguignon wrote:

    The really sophisticated Common Lisp programmer would use LOOP:

    (defun iterative-function (list)
    (loop
    :for item :in list
    :collect (build-new-item-from-old-item item)))

    Scheme.

    (map abs '(-9 0 2 -3))


    (9 0 2 3)
    --- Synchronet 3.21d-Linux NewsLink 1.2