diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-07 09:54:40 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-07 09:54:40 -0800 |
commit | 4581329cde6cfb64399be48f58d67310ab19ee1b (patch) | |
tree | c76893896ae4375c618ecffad71fa9ffb3717be2 /doc/fib.nxs | |
parent | c620d528fb9d9efbac559002d23857623e71df05 (diff) |
include working
Diffstat (limited to 'doc/fib.nxs')
-rw-r--r-- | doc/fib.nxs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/fib.nxs b/doc/fib.nxs index e09e7a4..59755c8 100644 --- a/doc/fib.nxs +++ b/doc/fib.nxs @@ -1,8 +1,3 @@ ;; Author: Andrei S (bind fib (lambda (x) ;; xth fib number (if (< x 2) x (+ (fib (- x 1)) (fib (- x 2)))))) - -(fib 7) - -(bind fibseq (lambda (n) -(if (= 0 n) 0 (begin (+ n 1) (fib n))))) |