Hi Alex, is there a better way of achieving the following?
(let @S '((I . 0)) (def 'count (fill '(() (job '@S (inc 'I))))) (def 'reset (fill '(() (job '@S (zero I)))))) The two functions are closed over the same var/env. (count) => 1 (count) => 2 (reset) => 0 (count) => 1 http://www.software-lab.de/faq.html#closures discusses curry function which allows closure "inside" a single function only. Thank you, Tomas -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]