summaryrefslogtreecommitdiff
path: root/doc/main.nxs
blob: d3aa986c10b49fac9d1f0c19da1cc4f17dbf8bc5 (plain)
1
2
3
4
5
6
7
8
(include "fib.nxs")

(bind factorial (lambda (n)
	(if (= n 0) 1 (* n (factorial (print(- n 1)))))))
(print(fib 7))
(print (+ (factorial 5) 10))

(print(car (quote (+ (3 2) 4))))