diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-07 12:22:37 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-07 12:22:37 -0800 |
commit | 8edafecb633fec2b6327d996c1e7c282f4f1792f (patch) | |
tree | 7851d4ca6072ed8a3f5dd874cfe9d55abd95e1d0 /doc | |
parent | f57062553ab1451361b76128c4db29c5908f70b1 (diff) |
fixing print
Diffstat (limited to 'doc')
-rw-r--r-- | doc/main.nxs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/main.nxs b/doc/main.nxs index 381161a..3dd0ebf 100644 --- a/doc/main.nxs +++ b/doc/main.nxs @@ -2,5 +2,5 @@ (bind factorial (lambda (n) (if (= n 0) 1 (* n (factorial (print(- n 1))))))) -(fib 7) -(+ (factorial 5) 10) +(print(fib 7)) +(print (+ (factorial 5) 10)) |