From c2a293e46e6bf7563138ea852191ae70a7b7652e Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Mon, 11 Aug 2025 01:46:39 +0300 Subject: Fixed bug in repl not allowing using variables previously bound in REPL in new binding expression --- TUTORIAL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'TUTORIAL.md') diff --git a/TUTORIAL.md b/TUTORIAL.md index 74384b1..1ba6642 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -89,7 +89,7 @@ false : bool Values can be bound to variables using the let expression. ```console > (let x 1) -Bind saved +x saved > x 1 : int ``` @@ -119,11 +119,11 @@ and a function for checking if a integer is between two others. ```console > (let ++ (fn a int int (+ a 1))) -Bind saved +++ saved > (++ 1) 2 : int > (let between (fn (a b c) (int int int) bool (and (< b c) (> b a)))) -Bind saved +between saved > (between 1 2 3) true : bool > (between 1 0 3) -- cgit v1.2.3