Common sorted list: Difference between revisions

Content added Content deleted
(Added Perl)
m (Any union)
Line 82: Line 82:
8
8
9
9

julia> sort(union([2, 3, 4], split("3.14 is not an integer", r"\s+")), lt=(x, y) -> "$x" < "$y")
8-element Array{Any,1}:
2
3
"3.14"
4
"an"
"integer"
"is"
"not"

</lang>
</lang>