[plt-scheme] Understanding lambda

From: aditya shukla (adityashukla1983 at gmail.com)
Date: Fri Feb 13 15:05:39 EST 2009

I am trying to understand lambda and i have a question.

Suppose (define f (lambda(x) (+(* 3 x) 5)))

Now i have read and heard that lambda is used to define unnamed functions
now , i am confused about the value of f
ie will it be equal to the function returned by (lambda(x) (+(* 3 x) 5)) or
will be equal to the value which is computed for any value of x ie if x =1
then f =8.Any help is appreciated.

Thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090213/7e7eefda/attachment.html>

Posted on the users mailing list.