On Wednesday, 30 August 2017 at 17:16:59 UTC, data pulverizer wrote:


typeof(x[1]) # returns Cat

so it isn't really polymorphism - the object is never converted to the "parent" type! Lol ... sorry for the confusion!
Which is polymorphism

Haha what I know of Julia is what wikipedia says. Confusing indeed...

Reply via email to