We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
map
Array is a strange return type for this interaction:
Array
julia> map(+, (1, 2), (x=1, y=2)) 2-element Array{Int64,1}: 2 4
Suddenly we have an allocating (and potentially unstable) type with different properties to a tuple. This produces undexpected and hard to find bugs.
The path of least surprise when using map on two objects with Tuple in their name would be to return some kind of Tuple.
Tuple
Obviously this is a breaking change, so this is for 2.0.
The text was updated successfully, but these errors were encountered:
Related, interesting discussion: #5794
Sorry, something went wrong.
No branches or pull requests
Array
is a strange return type for this interaction:Suddenly we have an allocating (and potentially unstable) type with different properties to a tuple. This produces undexpected and hard to find bugs.
The path of least surprise when using
map
on two objects withTuple
in their name would be to return some kind ofTuple
.Obviously this is a breaking change, so this is for 2.0.
The text was updated successfully, but these errors were encountered: