Magic squares of doubly even order: Difference between revisions
m
→Composition of pure functions: Adjusted a name which shadowed a function
(→{{header|Python}}: Added a composition of pure functions) |
m (→Composition of pure functions: Adjusted a name which shadowed a function) |
||
Line 1,715:
scale = replicate(n / 4)
return chunksOf(n)([
succ(i) if
enumerate(magic(power) if isInteger(power) else (
flatten(scale(
|