summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-05-31 14:45:51 -0700
committerPreston Pan <preston@nullring.xyz>2023-05-31 14:45:51 -0700
commitb253a58db000dad649654e8fb4a0cb2036c95118 (patch)
tree24e8ff300222605ae6ea095eba95e6ad010ca977
parent545f3a7a3e148324981c7a3bffff8045ec60ea05 (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
-rw-r--r--doc/main.nxs3
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))