I guess map could be useful.
map
julia> typeof(2:3) UnitRange{Int64} julia> typeof(map(Int32, 2:3)) UnitRange{Int32}