From b253a58db000dad649654e8fb4a0cb2036c95118 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 31 May 2023 14:45:51 -0700 Subject: 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 --- doc/main.nxs | 3 --- 1 file changed, 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)) -- cgit