Ah, thank you.

I googled some but it didn't come up.

On Tuesday, March 3, 2015 at 3:53:38 PM UTC+1, Jacob Quinn wrote:
>
> It's actually https://github.com/JuliaLang/julia/issues/7434, a known 
> LLVM issue.
>
> On Tue, Mar 3, 2015 at 7:49 AM, Kristoffer Carlsson <[email protected] 
> <javascript:>> wrote:
>
>> 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
>>
>
>

Reply via email to