diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-11 01:46:39 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-11 01:46:39 +0300 |
commit | c2a293e46e6bf7563138ea852191ae70a7b7652e (patch) | |
tree | 24d71d74bc85af825857a30b80b7c0c7613ac249 /TUTORIAL.md | |
parent | 633756fc83273b0f1f2411838844339692bf21db (diff) | |
download | myslip-c2a293e46e6bf7563138ea852191ae70a7b7652e.tar.gz myslip-c2a293e46e6bf7563138ea852191ae70a7b7652e.zip |
Fixed bug in repl not allowing using variables previously bound in REPL in new binding expression
Diffstat (limited to 'TUTORIAL.md')
-rw-r--r-- | TUTORIAL.md | 6 |
1 files changed, 3 insertions, 3 deletions
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) |