On Mon, Jul 7, 2008 at 10:18 AM, Tobia Conforto <[EMAIL PROTECTED]> wrote: > > Contrary to global variables, parameters are thread-local, so every thread > has its own set of parameter values. > > The combination of these two features makes parameters very useful. >
Another nice property of parameters is that you can pass them around by value, sort of like a "location": (define (change-setting p) (p <new value>) ...) ... (if (stars-are-right?) (change-setting first-parameter) (change-setting second-parameter) ) cheers, felix _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users