From a9d6c221d7686e3055593359b02125a3f20ab3e5 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 20 Jan 2024 02:38:26 -0800 Subject: add map, filter might work? --- examples/fib.stem | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 examples/fib.stem (limited to 'examples/fib.stem') diff --git a/examples/fib.stem b/examples/fib.stem deleted file mode 100644 index de02b5c..0000000 --- a/examples/fib.stem +++ /dev/null @@ -1,20 +0,0 @@ -# Author: Andrei Sova 2023 -fib [ - dup 1 <= [ ] [ - dup 1 - fib - swap - dup 2 - fib - swap - dsc - + - ] if -] func - -main [ - dup 10 <= [ - dup fib . - 1 + main - ] [ exit ] if -] func - -0 main -- cgit