Arc Forumnew | comments | leaders | submitlogin
1 point by lg 5455 days ago | link | parent

I thought about this too, but it doesn't look right to me. I would expect this makes the act of defining the functions atomic, but not calls to those functions once defined.


1 point by zck 5454 days ago | link

To me, it feels the same as

  (let ctr 0
       (def inc () (++ ctr))
       (def reset () (= ctr 0))

-----