mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
add missing example
fixes #5556 Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
0f327d9f38
commit
31d41dbccb
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue