I am learning Racket (similar to the Lisp scheme) and I tried to do something like (apply + '(1 2)) , but without using apply , and I failed. I was pretty sure that apply can be modeled somehow with eval , but now I have doubts.
So my question is: can apply be implemented in Racket (or another Lisp) using only eval and other basic operations? That is how to make this work:
{ define [my-apply f arg] ;; what does go here? } (my-apply + (list 1 2)) ; => 3
source share