Distinct power numbers: Difference between revisions
→AppleScript Functional: Swapped in NSMutableSet
(Add Factor) |
(→AppleScript Functional: Swapped in NSMutableSet) |
||
Line 56:
script integerPower
on |λ|(b, y)
b's
b
end |λ|
end script
Line 65 ⟶ 66:
sort(foldl(powers, ¬
current application's
allObjects())
end distinctPowers
|