How do I apply a symbol as a function in Scheme?
lisp, scheme
Solution
(apply (eval '+) '(1 2 3))
Should do it.
Problem
Is there a way I can apply '+ to '( 1 2 3)? edit: what i am trying to say is that the function i get will be a symbol. Is there a way to apply that? Thanks.