Arc Forumnew | comments | leaders | submitlogin
1 point by lg 5208 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 5208 days ago | link

To me, it feels the same as

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

-----