If you change the type of hanoi to hanoi :: Int -> Log -> LogĪnd call it chamahanoi n = hanoi n ((('o',n),('i',0),('d',0)),) How could that be achieved if the only information is how many disks are on each pin, and from where to where disks shall be moved?
0 Comments
Leave a Reply. |