Tuples
Uses #()
just to avoid confusion with function calls and grouping (()
).
Definition
val person = #("John", "Doe", 32)
val #(name, surname, age) = person
thp
Signature
#(String, String, Int)
thp
Uses #()
just to avoid confusion with function calls and grouping (()
).
val person = #("John", "Doe", 32)
val #(name, surname, age) = person
thp
#(String, String, Int)
thp