Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
emillon
on Sept 18, 2012
|
parent
|
context
|
favorite
| on:
Actually, you don't understand lexical scope
Probably. But in these languages, variable declaration is also an lambda/application :
let x = t1 in t2 <=> (λx.t2) t1
So, it behaves in a sane way (you have lexical scoping for local variables too). There is no "functional scope".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: