[plt-scheme] self-referential data structures
Hello,
well, I thought that self-referential and circular meant the same thing in
this context -- maybe because the translations into my native language mean
the same thing.
At least to create a circular data structure without using assignments and
on non-hypothetical hardware, you have to know the address of an object in
memory before it is initialized. This is, of course, possible, especially if
allocation and initialization are performed in logically separate steps, but
it also is uncommon. I have never seen any code that does this, so far.
So you're right that my statement was not absolutely precise, but it still
holds in practice.
cu,
Thomas
On Mar 5, 2009 9:10 PM, "Marco Morazan" <morazanm at gmail.com> wrote:
On Thu, Mar 5, 2009 at 3:04 PM, Thomas Chust <chust at web.de> wrote: > Hello
Aditya, > > self-referent...
Do you mean circular data structures? Even those, under some parameter
passing conventions, can be created without mutation/assignment.
--
Cheers,
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090305/b1fcc14d/attachment.html>