summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-06 15:48:46 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-06 15:48:46 -0800
commitf32cb9a129ebf1755ea300cf311f487c5b9f0f04 (patch)
tree77865e1aa41a6c306a6479448147e3320c3e6578 /doc
parentbbbc9f428b7226f1ddac1a78af63e71a96c0b90f (diff)
fully operational evaluator; makefile changed
Diffstat (limited to 'doc')
-rw-r--r--doc/main.nxs3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/main.nxs b/doc/main.nxs
index e0839b5..274067c 100644
--- a/doc/main.nxs
+++ b/doc/main.nxs
@@ -1,4 +1,5 @@
(bind factorial (lambda (n)
(if (= n 0) 1 (* n (factorial (- n 1))))))
-(factorial 3)
+(* (factorial 4) 24)
+"hello world!"