Re: mapcar using a function with one argument fixed

Liste des GroupesRevenir à cl lisp 
Sujet : Re: mapcar using a function with one argument fixed
De : Nobody447095 (at) *nospam* here-nor-there.org (B. Pym)
Groupes : comp.lang.lisp
Date : 29. Aug 2024, 08:42:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vap57u$3sefl$1@dont-email.me>
User-Agent : XanaNews/1.18.1.6
Rainer Joswig wrote:

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

(define x-list '(x0 x1 x2 x3))
(define y-list '(y0 y1 y2 y3))

(map (cut  list '! <> '! <>) x-list y-list)

  ===>
((! x0 ! y0) (! x1 ! y1) (! x2 ! y2) (! x3 ! y3))

Date Sujet#  Auteur
29 Aug 24 o Re: mapcar using a function with one argument fixed1B. Pym

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal