I have created a single Roc file that should contain all Roc syntax currently implemented: https://github.com/roc-lang/roc/blob/main/test/fx/all_syntax_test.roc
Please add to it after you implemented a new syntax/feature.
should we have one for different module types? e.g. module header syntax differs between app vs platform modules
I think where is missing?
Fabian Schmalzried said:
I think
whereis missing?
Thanks, I'll add that.
What about static dispatch and "arrow chaining" ? :p
There's a passing mention of static dispatch in a comment in the main function but no example of the -> operator.
Yeah no arrow chaining yet, I'll add it, thanks :)
This is the way to truly find all syntax, by announcing you have a file with all syntax :p
Last updated: Dec 21 2025 at 12:15 UTC