Stream: beginners

Topic: Tuples


view this post on Zulip JRI98 (Dec 05 2023 at 19:36):

I just discovered tuples as I was going through the examples in the website https://www.roc-lang.org/examples/Tuples/README.html. Is there a reason for them to be kind of hidden (they are not mentioned in the tutorial, for example), like not being recommended, or can I expect them to be a basic construct of the language for the foreseeable future?

view this post on Zulip Luke Boswell (Dec 05 2023 at 20:21):

There a newer addition to the language. We have a good first issue https://github.com/roc-lang/roc/issues/5141 for anyone who would like to add them to the tutorial. :grinning_face_with_smiling_eyes:

view this post on Zulip Luke Boswell (Dec 05 2023 at 20:23):

I made that example partly to explore the language feature and so I would remember how they work. There is a bit of research maybe to write up a good introduction for the tutorial.


Last updated: Jul 06 2025 at 12:14 UTC