From 31d41dbccb977ec0eb1ebf6666188d7ee56a5e3d Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Sat, 17 Jun 2023 14:09:53 +0200 Subject: [PATCH] add missing example fixes #5556 Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com> --- www/generate_tutorial/src/input/tutorial.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/generate_tutorial/src/input/tutorial.md b/www/generate_tutorial/src/input/tutorial.md index f8821bbbb3..583858f187 100644 --- a/www/generate_tutorial/src/input/tutorial.md +++ b/www/generate_tutorial/src/input/tutorial.md @@ -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.