by blasdel · 17y ago · 0 comments
Lexically, there's where clauses to scope function definitions, but that gets desugared very early, and is really not the same thing at all anyway (the name binding is completely static).
f x = (\y -> x + y)
It's completely different from a 'closure' in a language that has variables.