jlapeyre/Symata.jl

FullForm of Rational and Complex not displayed correctly

Closed this issue · 0 comments

symata 17> FullForm(1 + I)
Out(17) = 1 + I

symata 18> Head(1 + I)
Out(18) = Complex{Int64}
symata 19> FullForm(1/2)
Out(19) = 1/2

symata 20> Head(1/2)
Out(20) = Rational{Int64}

These should be Complex(1, 1) and Rational(1, 2).