let t = 1, 'a', "b"
std::tuple<float, std::string, bool> t(2.5f, "foo", false);
auto entry = tuple!("index", "value", "active")(4, "Hello", true);
a, b, c := 2.5, "hello", make(chan int)
t := []any{
2.5,
"hello",
make(chan int),
}
record Tuple(int a, String b, boolean c) {}
var t = new Tuple(1, "hello", true);
use constant t => (1, 'two', 3.5);
t = [2.5, "hello", -1]
let t = 1, 'a', "b"
std::tuple<float, std::string, bool> t(2.5f, "foo", false);
auto t = std::make_tuple(2.5f, std::string("foo"), false);
var t = (2.5f, "foo", true);
auto entry = tuple!("index", "value", "active")(4, "Hello", true);
auto value = tuple(5, 6.7, "hello");
a, b, c := 2.5, "hello", make(chan int)
t := []any{ 2.5, "hello", make(chan int), }
t = (a, b, c)
let t = [2.5, "hello", -1];
record Tuple(int a, String b, boolean c) {} var t = new Tuple(1, "hello", true);
class Tuple { String s; int i; boolean b; }
record Tuple<A, B, C>(A a, B b, C c) {} Tuple<String, Integer, Boolean> t = new Tuple<>("abc", 123, true);
record Tuple(Object ... a) {} Tuple t = new Tuple("abc", 123, true);
val t = Triple(2.5, "foo", true)
type Tuple = record a: integer; b: string; c: boolean; end; var t: Tuple; begin t := Default(Tuple); end.
use constant t => (1, 'two', 3.5);
my $tuple = [1, 'Hello World', {foo => 1}];
t = (2.5, "hello", -1)
t = tuple('abc', 123, true)
let t = (2.5, "hello", -1);
Dim t = (2.5F, "foo", True)