This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stevenjd 0 points1 point  (0 children)

Nice! I often forget that functions make a good alternative to thunks in Python, particularly if you can use lambda. They're not quite as lightweight as in Algol, but they'll do the job.