<br><br><div class="gmail_quote">On Mon, Apr 27, 2009 at 11:16 AM, <a href="mailto:keydana@gmx.de">keydana@gmx.de</a> <span dir="ltr"><<a href="mailto:keydana@gmx.de">keydana@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
this seems like a horribly stupid thing to ask, but I have problems to map over procedures (in order to apply them). When I try<br>
<br>
(map (lambda (fun) (fun 1 2)) '(* +))<br>
<br>
I get<br>
<br>
"procedure application: expected procedure, given: *; arguments were: 1 2"<br>
<br></blockquote></div><br><div>The problem here is that '(* +) is a list containing the symbols * and +, not the functions. You want (list * +) or `(,* ,+).</div><div><br></div><div><br></div>