summaryrefslogtreecommitdiff
path: root/doc/main.nxs
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-06 14:16:47 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-06 14:16:47 -0800
commitbbbc9f428b7226f1ddac1a78af63e71a96c0b90f (patch)
tree6cbafd401afd6c9fec326760bf96d605c87dfd1e /doc/main.nxs
parent9083582a5d3bfc8fae859b2ce124d86ad7420dcc (diff)
add support for reading from file; some other stuff
Diffstat (limited to 'doc/main.nxs')
-rw-r--r--doc/main.nxs2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/main.nxs b/doc/main.nxs
index e09c304..e0839b5 100644
--- a/doc/main.nxs
+++ b/doc/main.nxs
@@ -1,2 +1,4 @@
(bind factorial (lambda (n)
(if (= n 0) 1 (* n (factorial (- n 1))))))
+
+(factorial 3)