When I write:

julia> x = 3

I assign to x a Int64 by default.

julia> typeof(x)
Int64

Let say that 3 should be Uint8, then I write:
julia> x = convert(Uint8, 3)

Is there a more idiomatic way of doing it?
Maybe with literals?

Reply via email to