Arc Forumnew | comments | leaders | submitlogin
2 points by zck 4446 days ago | link | parent

Ooh, cool discussion. I really like the connection you made to nconc.

At least Arc does the default properly:

  arc> (def f (n (o tbl (obj))) (= tbl.n (* n 2)) tbl)
  #<procedure:zz>
  arc> (f 1)
  #hash((1 . 2))
  arc> (f 2)
  #hash((2 . 4))


1 point by akkartik 4443 days ago | link

Thanks!

Arc does have similar gotchas with quote: http://arclanguage.org/item?id=10248 (one of my earliest posts on this forum)

-----