[plt-scheme] equal? and shared structure

From: Jens Axel Soegaard (jensaxel at soegaard.net)
Date: Wed Dec 19 09:21:37 EST 2007

Robby Findler skrev:
> I don't think that's the right algorithm, unless I'm misunderstanding.
> Those algorithms only work for linear cycle detection, not trees.

My first thought was, that it would be enough, since
we equal? was to be called recursively. But after
drawing a little I see the recursive strategy fails.


-- 
Jens Axel Søgaard



Posted on the users mailing list.