Arc Forumnew | comments | leaders | submitlogin
What was the problem with internal define in Arc? (arcanesentiment.blogspot.com)
3 points by kostas 6070 days ago | 3 comments


1 point by tokipin 6070 days ago | link

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 6069 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 6068 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.

-----