Common sorted list: Difference between revisions
Content added Content deleted
(→{{header|JavaScript}}: Added a version in JavaScript) |
Not a robot (talk | contribs) (Add APL) |
||
Line 8: | Line 8: | ||
'''output''' = [1,3,4,5,7,8,9] |
'''output''' = [1,3,4,5,7,8,9] |
||
<br><br> |
<br><br> |
||
=={{header|APL}}== |
|||
{{works with|Dyalog APL}} |
|||
<lang>csl ← (⊂∘⍋⌷⊢)∪∘∊</lang> |
|||
{{out}} |
|||
<pre> csl (5 1 3 8 9 4 8 7)(3 5 9 8 4)(1 3 7 9) |
|||
1 3 4 5 7 8 9</pre> |
|||
=={{header|AppleScript}}== |
=={{header|AppleScript}}== |