summaryrefslogtreecommitdiff
path: root/doc/main.nxs
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-07 12:22:37 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-07 12:22:37 -0800
commit8edafecb633fec2b6327d996c1e7c282f4f1792f (patch)
tree7851d4ca6072ed8a3f5dd874cfe9d55abd95e1d0 /doc/main.nxs
parentf57062553ab1451361b76128c4db29c5908f70b1 (diff)
fixing print
Diffstat (limited to 'doc/main.nxs')
-rw-r--r--doc/main.nxs4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/main.nxs b/doc/main.nxs
index 381161a..3dd0ebf 100644
--- a/doc/main.nxs
+++ b/doc/main.nxs
@@ -2,5 +2,5 @@
(bind factorial (lambda (n)
(if (= n 0) 1 (* n (factorial (print(- n 1)))))))
-(fib 7)
-(+ (factorial 5) 10)
+(print(fib 7))
+(print (+ (factorial 5) 10))