If you create a function that returns a tuple the printed output to the
REPL is wrong.
julia> function foo()
return (1, 2, 3, 4)
end
foo (generic function with 1 method)
*julia**> a = foo() **# Note the two zeros in output*
*(1,2,0,0) julia> a[3]3*
julia> show(a)
(1,2,3,4)
julia> print(a)
(1,2,3,4)
julia> repr(a)
"(1,2,3,4)"
julia> a
(1,2,0,0)
What is the actual command run by the REPL when you just write a variable?
Is this related https://github.com/JuliaLang/julia/issues/10233 ?
Best regards,
Kristoffer Carlsson