From 25fd477f64b01e348603afe5b3ff03916386b9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Thu, 1 Aug 2024 08:19:44 +1200 Subject: [PATCH] Remove "backpassing" and add "the `!` operator" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This interactive code example does not include backpassing, unless I'm mistaken. Instead, it uses the `!` operator. I also reordered the syntax sugar list to match the order they appear in the example. Signed-off-by: Aurélien Geron --- www/content/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/content/index.md b/www/content/index.md index c410346cc1f..79a5d6e129a 100644 --- a/www/content/index.md +++ b/www/content/index.md @@ -110,7 +110,7 @@ Here's a code sample that shows a few different aspects of Roc: - File I/O and HTTP requests - Pattern matching for error handling - JSON deserialization via type inference -- Common syntax sugar: string interpolation, pipelines, and backpassing +- Common syntax sugar: pipelines, the `!` operator, and string interpolation The [tutorial](/tutorial) introduces these gradually and in more depth, but this gives a brief overview.