summaryrefslogtreecommitdiff
path: root/doc/main.nxs
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-06 18:53:42 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-06 18:53:42 -0800
commit0771dd0e1a143c17920d65d5de8d010aa433ce1c (patch)
tree1e6ea87bf5b2673bf810db502050e55d66a95f97 /doc/main.nxs
parentf32cb9a129ebf1755ea300cf311f487c5b9f0f04 (diff)
add comments
Diffstat (limited to 'doc/main.nxs')
-rw-r--r--doc/main.nxs3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/main.nxs b/doc/main.nxs
index 274067c..212f098 100644
--- a/doc/main.nxs
+++ b/doc/main.nxs
@@ -1,5 +1,6 @@
+
(bind factorial (lambda (n)
(if (= n 0) 1 (* n (factorial (- n 1))))))
-(* (factorial 4) 24)
+(+ (factorial 5) 10)
"hello world!"