<html><head><base href="x-msg://3035/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Correct! Good planning. -- Matthias</div><div><br></div><div><br></div><br><div><div>On Aug 15, 2011, at 4:05 PM, Racket Noob wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr"><span class="Apple-style-span" style="color: rgb(42, 42, 42); line-height: 17px; background-color: rgb(255, 255, 255); "><font size="2" style="line-height: normal; ">But, if I choose your second approach (function that picks and returns one of the feasible configurations), than such function cannot be used in next exercise 32.3.3 in which I have to construct function solitaire for solving a puzzle.</font>&nbsp;</span><br><br><div><hr id="stopSpelling">From:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:racketnoob@hotmail.com">racketnoob@hotmail.com</a><br>To:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:matthias@ccs.neu.edu">matthias@ccs.neu.edu</a><br>Subject: RE: [racket] HtDP Exercise 32.3.2<br>Date: Mon, 15 Aug 2011 22:04:13 +0200<br><br><div dir="ltr"><font class="ecxApple-style-span" face="Tahoma" size="2">But, if I choose your second approach (function that picks and returns one of the feasible configurations), than such function cannot be used in next exercise 32.3.3 in which I have to construct function solitaire for solving a puzzle.</font><span class="ecxApple-style-span" style="font-family: Tahoma; font-size: 10pt; ">&nbsp;<br><br><div><hr id="ecxstopSpelling">Subject: Re: [racket] HtDP Exercise 32.3.2<br>From:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:matthias@ccs.neu.edu">matthias@ccs.neu.edu</a><br>Date: Mon, 15 Aug 2011 15:21:08 -0400<br>CC:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:users@racket-lang.org">users@racket-lang.org</a><br>To:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:racketnoob@hotmail.com">racketnoob@hotmail.com</a><br><br><br><div><div>On Aug 15, 2011, at 3:10 PM, Racket Noob wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse: separate; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; "><div class="ecxhmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr"><font class="ecxApple-style-span" face="Tahoma" size="2">I don't understand this exercise:</font><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div><div><font class="ecxApple-style-span" face="Tahoma" size="2">Exercise 32.3.2. &nbsp; Develop a function that, given a board and the board position of a peg, determines whether or not the peg can jump. We call such a peg enabled.</font></div><div><span class="ecxApple-style-span" style="font-family: Tahoma; font-size: 10pt; ">Develop a function that, given a board and the board position of an enabled peg, creates a board that represents the next configuration.</span></div></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">But, it may be the case that an enabled peg can jump to more than one of free places. Thus, we can have more then one new configurations, no?</font></div></div></div></span></blockquote><br></div><div>Good catch. Now design a function that returns a list of next configurations for an 'enabled' peg. Alternatively, design a function that picks one of the feasible successor configurations.&nbsp;</div></div></span></div></div></div>_________________________________________________<br>&nbsp;For list-related administrative tasks:<br>&nbsp;<a href="http://lists.racket-lang.org/listinfo/users">http://lists.racket-lang.org/listinfo/users</a></div></span></blockquote></div><br></body></html>