summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/main.nxs2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/main.nxs b/doc/main.nxs
new file mode 100644
index 0000000..e09c304
--- /dev/null
+++ b/doc/main.nxs
@@ -0,0 +1,2 @@
+(bind factorial (lambda (n)
+ (if (= n 0) 1 (* n (factorial (- n 1))))))