|
|
|
|
|
by tonyg
621 days ago
|
|
It's a straightforward syntactic transformation. The two are equivalent. The scope of the rebound variable begins at the rebinding and ends when the surrounding scope ends. Perfectly clear - the only difference is a "let" keyword. counter = 0
...
counter = counter + 1
...
vs let counter = 0 in
...
let counter = counter + 1 in
...
|
|