Original Post
I am having great difficulty in defining a lambda procedure with lists as parameters and the body.
For example, this is what I''m trying to do.
(lambda (cdr list) (car expr))
where (cdr list) can represent a list of parameters such as (x y) And (car expr) can represent an expression such as (+ x y)
But apparently scheme won''t recognize this and will evaluate the above code with (cdr list) and (car expr) as parameters. Can anyone help me how I would go about fixing this problem?
Thanks