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
similartype(Matrix{Float64}, Val(3))
One can do:
julia> similartype(Matrix{Float64}, (2, 2, 2)) Array{Float64, 3}
but it would be nice to have something in the type domain, like:
julia> similartype(Matrix{Float64}, Val(3))
or a more specific type than Val, like NDims:
Val
NDims
julia> similartype(Matrix{Float64}, NDims(3))
related to the proposal for basing similar around traits here: JuliaLang/julia#18161.
similar
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
One can do:
but it would be nice to have something in the type domain, like:
or a more specific type than
Val
, likeNDims
:related to the proposal for basing
similar
around traits here: JuliaLang/julia#18161.The text was updated successfully, but these errors were encountered: