diff options
author | Preston Pan <preston@nullring.xyz> | 2024-01-20 02:38:26 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2024-01-20 02:38:26 -0800 |
commit | a9d6c221d7686e3055593359b02125a3f20ab3e5 (patch) | |
tree | ea9037ae83c28910f5fddf4844ffbb9563dbf94e /examples/fib.stem | |
parent | 640f9a3f5be5528dd4f8ed658cfe4d06d833e4c9 (diff) |
add map, filter might work?
Diffstat (limited to 'examples/fib.stem')
-rw-r--r-- | examples/fib.stem | 20 |
1 files changed, 0 insertions, 20 deletions
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 |