Towers of Hanoi: Difference between revisions

Line 212:
 
 
Or dispensing with a mutating global variable, we could write:
and using a higher-order map function, we could write:
 
<lang applescript>on run
9,659

edits