Hi all,
I'm new to Lisp, therefore this might be a trivial question ;-) Given a
list like '(+ 1 (* n n)), I would like to generate another one by replacing
each leaf from the previous, sequentially, with the elements of another list,
say '(x y). Therefore, the result should be something like:
((+ x (* n n)) (+ y (* n n)) (+ 1 (* x n)) (+ 1 (* y n)) (+ 1 (* n x))
(+ 1 (* n y)))
Can you suggest how can I accomplish this?
Thank you in advance,
Dragos
In article <····················@sweetbay.will.uiuc.edu>,
Dragos-Anton Manolescu <······@sweetbay.will.uiuc.edu> wrote:
] ((+ x (* n n)) (+ y (* n n)) (+ 1 (* x n)) (+ 1 (* y n)) (+ 1 (* n x))
] (+ 1 (* n y)))
]
] Can you suggest how can I accomplish this?
When is the academic year beginning again ?
Stefan