Common sorted list: Difference between revisions
m
Any union
SqrtNegInf (talk | contribs) (Added Perl) |
m (Any union) |
||
Line 82:
8
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>
|