add missing example

fixes #5556 

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2023-06-17 14:09:53 +02:00 committed by GitHub
parent 0f327d9f38
commit 31d41dbccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -926,6 +926,9 @@ first / second
```roc
Num.div first second
```
```roc
first |> Num.div second
```
All operators in Roc are syntax sugar for normal function calls. See the [Operator Desugaring Table](https://www.roc-lang.org/tutorial#operator-desugaring-table) at the end of this tutorial for a complete list of them.