diff --git a/book/src/language-tour/tuple.md b/book/src/language-tour/tuple.md index 4369bb17..65990b7e 100644 --- a/book/src/language-tour/tuple.md +++ b/book/src/language-tour/tuple.md @@ -1 +1,9 @@ # Tuple + +Tuples are anonymous product types. They are useful for passing combinations of data between functions. + +``` +let x = (1, 2) +let y = (3, 4) +pairAdder(x, y) -- --> (4, 6) +``` \ No newline at end of file