What's the point of lambda in scheme?

Posted by incrediman on Stack Overflow See other posts from Stack Overflow or by incrediman
Published on 2010-05-31T11:04:08Z Indexed on 2010/05/31 11:12 UTC
Read the original article Hit count: 288

Filed under:
|
|

I am learning scheme. I know how to use both lambda and let expressions.

However I'm struggling to figure out what the point is of using lambda. Can't you do everything with let that you can with lambda?

It would be especially helpful to see an example of a situation where a lambda expression is a better choice than let.

One other thing - are there also situations where let is more useful than lambda? If so such an example would be nice as well.

Thanks!

© Stack Overflow or respective owner

Related posts about lambda

Related posts about Scheme