# NOT RUN {
# Tuple of integers
Tuple$new(1:5)
# Tuple of multiple types
Tuple$new("a", 5, Set$new(1), Tuple$new(2))
# Each Tuple has properties and traits
t = Tuple$new(1,2,3)
t$traits
t$properties
# Elements can be duplicated
Tuple$new(2, 2) != Tuple$new(2)
# Ordering does matter
Tuple$new(1, 2) != Tuple$new(2, 1)
# }
Run the code above in your browser using DataLab