From df67243d52a989ae223f42f03095ac26342e1b24 Mon Sep 17 00:00:00 2001 From: boralg Date: Mon, 19 May 2025 12:17:51 +0300 Subject: [PATCH] fix: minor typos --- src/guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide.md b/src/guide.md index a280c12..ff4810c 100644 --- a/src/guide.md +++ b/src/guide.md @@ -372,7 +372,7 @@ f "b" 2 ``` -Scrapscript's functions are greedy -- they grab code until they hit a `.` or +Scrapscript's functions are greedy -- they grab code until they hit a `;` or matching `)`. Scrapscript doesn't care about whitespace, so indentation won't help you. @@ -526,7 +526,7 @@ typ::fun (n -> x * 2) Use pattern matching to grab the contents of each alternative: ```{.language-haskell} -hand::left 5 |> +hand::l 5 |> | #l n -> n * 2 | #r n -> n * 3 ; hand :