|
|
|
|
|
by blasdel
6072 days ago
|
|
Haskell does not semantically have closures at all, because functions have only their arguments -- no scope to close over. 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)