Arc Forumnew | comments | leaders | submitlogin
1 point by tokipin 6033 days ago | link | parent

i don't know what 'define' is. is it a local assignment?

  (def fun ()               (def fun ()
    (local var 0)    ===      (let var 0
    (w/e var))                  (w/e var))


1 point by drcode 6032 days ago | link

The original pg article referenced was about having local variables without a let. This article, as a whole, is a bit confused, so it's hard to know what he's trying to say. Bottom line, I don't think he got the gist of the pg essay he references...

-----

3 points by cooldude127 6031 days ago | link

i actually don't really want local variables without a let. i prefer the explicit scoping of a let binding. i often wish i had it in other languages.

-----