--On Wednesday, August 13, 2003 9:16 PM +0100 Rob Dixon <[EMAIL PROTECTED]> wrote:

Lexical variables are another matter, as they don't belong to a
given package but exist globally as long as there is a reference
to them. In my opinion this is a bit of a hack, but access can
be limited by creating data that is accessible only by
reference, so that code can reach that data only if it has been
given a reference to it.

It doesn't seem like a hack to me; it lets you use closures.


(cf http://www.wikipedia.org/wiki/Closure_(programming) )





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to