-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
We have lexicographical isless for several list types:
('a', 'b') < ('c', 'd') #true
"ab" < "cd" #trueyet we don't have it for Vector:
['a', 'b'] < ['c', 'd'] # ERROR: MethodError: no method matching isless(::Array{Char,1}, ::Array{Char,1})From a mathematical point of view it might make sense not to have isless for vectors, but for general purpose it seems at least consistent to have it. If it's supported in Base, then so will it be in StaticArrays.jl, which is useful (JuliaArrays/StaticArrays.jl#367).
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels