Where do these nothing
s come from?
julia> println.((1,2))
1
2
(nothing, nothing)
julia> println.([1,2])
1
2
2-element Vector{Nothing}:
nothing
nothing
println
returns nothing
E.g.
println(“hi”) === nothing
Obvious in hindsight :joy:
mbaz has marked this topic as resolved.
Last updated: Nov 06 2024 at 04:40 UTC