Sort a list of object identifiers: Difference between revisions

Content added Content deleted
(→‎{{header|AppleScript}}: Added a functional draft.)
Line 183: Line 183:
As a composition of pure functions:
As a composition of pure functions:


<lang applescript>use AppleScript version "2.4"
<lang applescript>------------- SORTED LIST OF OBJECT IDENTIFIERS ------------
use framework "Foundation"
use scripting additions


------------- SORTED LIST OF OBJECT IDENTIFIERS ------------


-- sortedIdentifiers :: [String] -> [String]
-- sortedIdentifiers :: [String] -> [String]