diff options
Diffstat (limited to 'doc/main.nxs')
-rw-r--r-- | doc/main.nxs | 3 |
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!" |