Feedback letting 

Forum: Com Sci 221, U Chicago, Autumn 2001, Old Classwork
Re: News Assignment #7 due Monday, 19 November (Mike O'Donnell)
Re: Question lets and lambdas (Mamun Tanveer)
Date: 2001, Nov 18
From: Roni Choudhury roni

Do we have to replace the (lambda () z) expression with a let expression? I know how to replace the other lambdas with lets, but that doesn't seem to work here, since you have to let f be bound to a procedure of no parameters? Any answers?

Since f gets bound to (lambda () z), you just have (f, (lambda () z)) be a pair in your let statement.

The tricky part of this question isn't f, though. It's how to deal with the fact that z gets bound twice during execution...

Good luck.

roni


Messages

1. Feedback how is this different from letting (f z)? (Terry (Sotiria) Lampoudi), 2001, Nov 18
(_ Idea they're not different but... by Roni Choudhury, 2001, Nov 18

to: "letting"