Anonymous user
Towers of Hanoi: Difference between revisions
→{{header|SASL}}
Line 4,049:
hanoi 0 (a,b,c,) = ()
hanoi n ( a,b,c) = hanoi (n-1) (a,c,b) ,
‘move a disc from " , a , ‘ to " , b , NL ,
hanoi (n-1) (c,b,a)
?
</lang>
|