Hi Alex,

>    (let I '(0)
>       (def 'count (curry (I) () (inc I)))
>       (def 'reset (curry (I) () (set I 0))) )

I see:-)

> Perhaps there are other/better solutions?

Do you have anything on mind?


Why 'zero', 'one', 'on', 'off' and 'onOff' don't evaluate arguments?
If they did, I could write:

(let I '(0)
   (def 'count (curry (I) () (inc I)))
   (def 'reset (curry (I) () (zero I))) )

which would kind of keep it uniform/consistent.  I don't think it
would be a problem writing (zero 'A 'B) instead of (zero A B).

Thank you,

Tomas
-- 
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]

Reply via email to