summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/main.nxs7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/main.nxs b/doc/main.nxs
index d3aa986..cb6985d 100644
--- a/doc/main.nxs
+++ b/doc/main.nxs
@@ -1,8 +1,9 @@
(include "fib.nxs")
(bind factorial (lambda (n)
- (if (= n 0) 1 (* n (factorial (print(- n 1)))))))
-(print(fib 7))
+ (if (= n 0) 1 (* n (factorial (- n 1))))))
+
+(print (fib 7))
(print (+ (factorial 5) 10))
-(print(car (quote (+ (3 2) 4))))
+(print (quote (+ (3 2) 4)))