Open lafith opened 3 years ago
Under the section 'Type inference and empty collections' It is mentioned that 'Julia has a dedicated type, None – a subtype of Any – that applies to the empty set'. But following is the output I am getting in REPL:
None
Any
julia> empty_set = [] Any[]
instead of:
julia> empty_set = [] 0-element Array{None,1}
Under the section 'Type inference and empty collections' It is mentioned that 'Julia has a dedicated type,
None
– a subtype ofAny
– that applies to the empty set'. But following is the output I am getting in REPL:instead of: