From 545f3a7a3e148324981c7a3bffff8045ec60ea05 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 9 Jan 2023 23:05:10 -0800 Subject: add exp function --- doc/main.nxs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/main.nxs b/doc/main.nxs index cb6985d..9eaeffc 100644 --- a/doc/main.nxs +++ b/doc/main.nxs @@ -1,4 +1,5 @@ (include "fib.nxs") +(include "../stdlib/math.nxs") (bind factorial (lambda (n) (if (= n 0) 1 (* n (factorial (- n 1)))))) @@ -6,4 +7,5 @@ (print (fib 7)) (print (+ (factorial 5) 10)) +(exp 3) (print (quote (+ (3 2) 4))) -- cgit