From 0771dd0e1a143c17920d65d5de8d010aa433ce1c Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 6 Jan 2023 18:53:42 -0800 Subject: add comments --- doc/main.nxs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/main.nxs') 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!" -- cgit