Towers of Hanoi: Difference between revisions
→{{header|AppleScript}}: Tidied.
Not a robot (talk | contribs) (Add 8086 Assembly) |
(→{{header|AppleScript}}: Tidied.) |
||
Line 335:
=={{header|AppleScript}}==
<lang applescript>--
-- hanoi :: Int -> (String, String, String) -> [(String, String)]
on hanoi(n, abc)
script go
Line 350 ⟶ 352:
end hanoi
--
on run
script arrow
Line 363 ⟶ 366:
--
-- Lift 2nd class handler function into 1st class script wrapper
|