Code Blocks
Pupeno
pupeno at pupeno.com
Tue Aug 31 09:29:50 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In the manual, in section 2.1.1 Code Blocks:
http://slate.tunes.org/doc/progman/node7.html#SECTION00041100000000000000
it says:
"Blocks furthermore have the property that, although they are a piece of code
and the values they access may change between defining the closure and
invoking it, the code will ``remember'' what objects it depends on,
regardless of what context it may be passed to as a slot value. It is called
a lexical closure since it ``closes over'' the environment and variables used
in its definition, the lexical context where it was born."
Can anybody help me understand this ? what does the code block "remember" ?
Thanks.
- --
Pupeno: pupeno at pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBNKeCfW48a9PWGkURAmJjAJ9JXnch+ikmzhHx1fhiViKscCW53gCffUJ6
ApQfIwdYZQApbu0dRTqwQpM=
=SOVS
-----END PGP SIGNATURE-----
More information about the Slate
mailing list