Merge pull request #5313 from human154/patch-4

Tutorial: Add A Table Of Roc's Keywords
This commit is contained in:
Anton-4 2023-04-21 11:53:34 +02:00 committed by GitHub
commit 32fcb38a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1978,3 +1978,8 @@ Here are various Roc expressions involving operators, and what they desugar to.
| <code>a \|> b</code> | `b a` |
| <code>a b c \|> f x y</code> | `f (a b c) x y` |
### [Language Keywords](#language-keywords) {#language-keywords}
These are all of the language keywords supported by Roc;
`if`,`then`,`else`,`when`,`as`,`is`,`dbg`,`expect`,`expect-fx`,`crash`,`interface`,`app`,`package`,`platform`,`hosted`,`exposes`,`imports`,`with`,`generates`,`package`,`packages`,`requires`,`provides`,`to`