diff options
author | Preston Pan <preston@nullring.xyz> | 2023-05-31 14:45:51 -0700 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-05-31 14:45:51 -0700 |
commit | b253a58db000dad649654e8fb4a0cb2036c95118 (patch) | |
tree | 24e8ff300222605ae6ea095eba95e6ad010ca977 /doc | |
parent | 545f3a7a3e148324981c7a3bffff8045ec60ea05 (diff) |
right now, there are large memory leaks and attempts to patch them up cause problems; removed problematic statement that causes this in nxs example code
Diffstat (limited to 'doc')
-rw-r--r-- | doc/main.nxs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/main.nxs b/doc/main.nxs index 9eaeffc..7967dbc 100644 --- a/doc/main.nxs +++ b/doc/main.nxs @@ -1,9 +1,6 @@ (include "fib.nxs") (include "../stdlib/math.nxs") -(bind factorial (lambda (n) - (if (= n 0) 1 (* n (factorial (- n 1)))))) - (print (fib 7)) (print (+ (factorial 5) 10)) |