Tobia Conforto <[EMAIL PROTECTED]> writes:

> The benefits of parameters are dynamic scoping and thread safety.
>
> Contrary to function arguments and let forms, parameters are  dynamically
> scoped, much like global variables, or "special variables"  in other lisp
> dialects.  This is very handy for setting and querying  generic, global
> configuration items, without "passing state" explicitly between function
calls,
> which is what parameters (and  global variables) are commonly used for.
>
> 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.

Thank you for your explanation.

So this sounds like bringing back dynamic binding into scheme...

--
William

http://williamxu.net9.org

Nature is by and large to be found out of doors, a location where,
it cannot be argued, there are never enough comfortable chairs.
                -- Fran Lebowitz



_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to