From ff43bd2fb2c2617b53a0157d62d07cf96b2ef92f Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 20 Jan 2024 16:37:26 -0800 Subject: add more detailed error messages; fix a couple bugs --- stemlib/fib.stem | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stemlib/fib.stem') diff --git a/stemlib/fib.stem b/stemlib/fib.stem index de02b5c..90a59d8 100644 --- a/stemlib/fib.stem +++ b/stemlib/fib.stem @@ -8,13 +8,13 @@ fib [ dsc + ] if -] func +] def main [ dup 10 <= [ dup fib . 1 + main ] [ exit ] if -] func +] def 0 main -- cgit