[plt-scheme] HTDP, Section 14 - Flaw in "blue-eyed-ancestor?" ?
P.S. There is also an exercise that explains how it can be "ancestor
only".
I must admit that there should be many more of those in the book that
distinguish the two notions.
On Sunday, November 23, 2003, at 03:11 PM, Guenther Schmidt wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Hi,
>
> I might be mistaken but if the function "blue-eyed-ancestor?" is
> supposed to evaluate to true of false for ancestors only, I believe it
> would have to be rewritten.
>
> Also I believe that the "or" version of the function has the
> additional advantage of returning the "child-struct" instead of merely
> evaluating to true of false.
>
> Just guessing here.
>
> Cheers
>
> Guenther
>