From: hWnd
Subject: HtDP, Exercice 18.2.13, to-blue-eyed-ancestor
Date: 
Message-ID: <1152482062.642656.244100@m73g2000cwd.googlegroups.com>
I can't cope with exercise 18.2.13
(http://htdp.org/2003-09-26/Book/curriculum-Z-H-23.html#node_sec_18.1).

I don't want a complete solution but a hint. Do I *have to* use local
and where? Is it possible to be solved w/o a local? Do I have to define
two functions?

What I've to put inside a local:
(define r (symbol=? (child-eyes a-ftn) 'blue))
or
(define f (to-blue-eyed-ancestor (child-father a-ftn))) and
(define m (to-blue-eyed-ancestor (child-mother a-ftn)))
or something completely different?

Thanks in advance,

-- Georgi
From: Pascal Costanza
Subject: Re: HtDP, Exercice 18.2.13, to-blue-eyed-ancestor
Date: 
Message-ID: <4hdhmkF1qb442U1@individual.net>
hWnd wrote:
> I can't cope with exercise 18.2.13
> (http://htdp.org/2003-09-26/Book/curriculum-Z-H-23.html#node_sec_18.1).
> 
> I don't want a complete solution but a hint. Do I *have to* use local
> and where? Is it possible to be solved w/o a local? Do I have to define
> two functions?
> 
> What I've to put inside a local:
> (define r (symbol=? (child-eyes a-ftn) 'blue))
> or
> (define f (to-blue-eyed-ancestor (child-father a-ftn))) and
> (define m (to-blue-eyed-ancestor (child-mother a-ftn)))
> or something completely different?
> 
> Thanks in advance,
> 
> -- Georgi

It's probably a better idea to post this in comp.lang.scheme


Pascal

-- 
3rd European Lisp Workshop
July 3 - Nantes, France - co-located with ECOOP 2006
http://lisp-ecoop06.bknr.net/