Towers of Hanoi: Difference between revisions

(Add 8086 Assembly)
Line 335:
 
=={{header|AppleScript}}==
<lang applescript>-- hanoi :: Int ->------------------- (String,TOWERS String,OF String)HANOI -> [(String, String)]--------------------
 
-- hanoi :: Int -> (String, String, String) -> [(String, String)]
on hanoi(n, abc)
script go
Line 350 ⟶ 352:
end hanoi
 
 
-- TEST -------------------------- TEST --------------------------
on run
script arrow
Line 363 ⟶ 366:
 
 
-- GENERIC FUNCTIONS ------------------- GENERIC FUNCTIONS --------------------
 
-- Lift 2nd class handler function into 1st class script wrapper
9,659

edits