Arc Forumnew | comments | leaders | submitlogin
2 points by applepie 6133 days ago | link | parent

Ugh, the code was wrong. I'm starting to think that Arc didn't really learn the lesson (i.e. getting scope right).

IMHO, it would be cleaner if def behaved more like Scheme's internal define (i.e. create a new local binding and set!).

I'd keep the current behaviour of def under the name defglobal or something.



3 points by nex3 6133 days ago | link

I added an "lset" form to Anarki that works just like Scheme's define.

-----