[racket] Reading graph structure
On Aug 18, 2011, at 9:09 AM, Harry Spier wrote:
> When I put (#1=100 #1# #1#) in either the definitions or interactions window I get
>
> . read: #..= expressions not allowed in read-syntax mode
In these areas, read-syntax takes over. Enter
(read)
at the prompt. Type
#0=(1 . #0#)
into the input box that appears.
> Also I'm not clear how #0=(1 . #0#) converts to
> (let ([v (cons 1 #f)])
> (set-cdr! v v) v)
That is indeed a strange thing considering that set-cdr! is no longer a part of the language :-)
-- Matthias