<p dir="ltr"><br>
On Feb 17, 2015 10:50 AM, "Roelof Wobben" <<a href="mailto:r.wobben@home.nl">r.wobben@home.nl</a>> wrote:<br>
><br>
> N reprent the number of disk <br></p>
<p dir="ltr">So how does moving 0 disks happen? That is what your first case deals with.</p>
<p dir="ltr">> Roelof<br>
><br>
><br>
> Mike Meyer schreef op 17-2-2015 om 17:47:<br>
>><br>
>><br>
>> On Feb 17, 2015 10:18 AM, "Roelof Wobben" <<a href="mailto:r.wobben@home.nl">r.wobben@home.nl</a>> wrote:<br>
>> ><br>
>> > This part I understand well. <br>
>> ><br>
>> > So you could do something like this:<br>
>> ><br>
>> > hanoi n 1 2 3 <br>
>> >    | n = 0 -> moves the last disk to the goal peg <br>
>> >    | n != 0 -> moves all the other disk to the spare peg or to the  moves n -1 to the goal peg<br>
>><br>
>> What does n represent here?<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Beginners mailing list<br>
>> <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Beginners mailing list<br>
> <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
><br>
</p>