Tuples
Uses #()
just to avoid confusion with function calls and grouping (()
).
Definition
val person = #("John", "Doe", 32)
val #(name, surname, age) = person
thp
Syntax error: Expected an expression after the equal `=` operator at line 1:11
Signature
#(String, String, Int)
thp
Syntax error: Expected an statement or an expresion at the top level. at line 1:0