[plt-scheme] trying not to use eval
I think I am missing something very obvious.
I want to take the value from a variable and use it as a procedure name,
and have it be evaluated. I remember running across some advice in a
text that using eval was *BAD*, but I am stumped on how to have the code
evaluated otherwise.
Here is the snippet:
(let ((poss (eval `(,e-type ,(car lst)))))
...
Is there a way to do this without using eval and/or am I incorrect in
thinking of eval as something to be avoided?
I tried without eval, and of course had what I wanted evaluated returned
(with the values filled in).
Thanks in advance,
rohan