Magic squares of doubly even order: Difference between revisions
Content added Content deleted
m (→{{header|AppleScript}}: ( slightly simpler name-binding in isPowerOf() )) |
m (→{{header|AppleScript}}: {{Trans|JavaScript}}) |
||
Line 37: | Line 37: | ||
=={{header|AppleScript}}== |
=={{header|AppleScript}}== |
||
{{Trans|JavaScript}} |
|||
<lang AppleScript>-- magicSquare :: Int -> [[Int]] |
<lang AppleScript>-- magicSquare :: Int -> [[Int]] |
||
on magicSquare(n) |
on magicSquare(n) |