Dropping all explicit Any type annotation in Julia >= v0.5

83 views
Skip to first unread message

Júlio Hoffimann

unread,
Oct 20, 2016, 1:31:45 PM10/20/16
to julia-users
Hi,

In Julia v0.4 I had to write Any[eye(3),eye(3)] in order to get a list of arrays. In Julia v0.5, the syntax changed and now [eye(3),eye(3)] is what I need.

Could you please confirm I can drop all occurrences of the Any type annotation in these cases without side effects other than changing the type to be more specific Array{Any} versus Array{Array}?

-Júlio
Reply all
Reply to author
Forward
0 new messages