Objective:
I need a tuple like (Float, string, int, string, int, string, int, ...).
Since I calculate the entries over the course of my program, I first add them to an array/vector.
Attempt:
my_array = []
append!(my_array, 0.1)
append!(my_array, "ab")
append!(my_array, 2)
println(tuple(my_array...))
# Bad output
(0.1, 'a', 'b', 2)
Question:
How can I get
# Good output
(0.1, "ab", 2)
instead?