[plt-scheme] Undefined identifier? hey... it's defined!

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Jun 25 07:30:26 EDT 2009

Just in case, you can use 'shared' to build cyclic data like that (but
sadly, not define).

Robby

On Thu, Jun 25, 2009 at 4:46 AM, Thomas Chust<chust at web.de> wrote:
> 2009/6/24 Ryan Culpepper <ryanc at ccs.neu.edu>:
>> [...]
>> What would you like this to produce?
>>
>>  #lang scheme
>>  (define a (cons 1 b))
>>  (define b (cons 2 a))
>>  (write a)
>>
>> [...]
>
> Hello,
>
> I think it should print #0=(1 2 . #0#) or something similar ;-)
>
> cu,
> Thomas
>
>
> --
> When C++ is your hammer, every problem looks like your thumb.
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.