{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12923","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12923/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12923/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12923/events","html_url":"https://github.com/JuliaLang/julia/issues/12923","id":104592986,"number":12923,"title":"Conversion of Array{'type',1} to Type{'type'}","user":{"login":"ianshmean","id":1694067,"avatar_url":"https://avatars.githubusercontent.com/u/1694067?v=3","gravatar_id":"","url":"https://api.github.com/users/ianshmean","html_url":"https://github.com/ianshmean","followers_url":"https://api.github.com/users/ianshmean/followers","following_url":"https://api.github.com/users/ianshmean/following{/other_user}","gists_url":"https://api.github.com/users/ianshmean/gists{/gist_id}","starred_url":"https://api.github.com/users/ianshmean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianshmean/subscriptions","organizations_url":"https://api.github.com/users/ianshmean/orgs","repos_url":"https://api.github.com/users/ianshmean/repos","events_url":"https://api.github.com/users/ianshmean/events{/privacy}","received_events_url":"https://api.github.com/users/ianshmean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-02T23:40:36Z","updated_at":"2015-09-02T23:40:36Z","closed_at":null,"body":"Would it be a good idea if arrays of length 1 are convertible to their nested type? i.e. to avoid errors like:\r\n`'convert' has no method matching convert(::Type{Float64}, ::Array{Float64,1})`\r\n\r\nPerhaps it could be quite a nice shortcut?\r\n\r\ni.e.\r\n\r\n    x = Array(Float64,10,10,10)\r\n    y = ones(Float64,10,10,10)\r\n    \r\n    x[1,1,1] = mean(y[:,1,1],1)"}}