diff options
Diffstat (limited to 'doc/countdown.nxs')
-rw-r--r-- | doc/countdown.nxs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/countdown.nxs b/doc/countdown.nxs new file mode 100644 index 0000000..c28fc7f --- /dev/null +++ b/doc/countdown.nxs @@ -0,0 +1,7 @@ +(bind countdown + (lambda (n) + (if (= n 0) + 0 + ((lambda (continue) + (continue (- n 1))) countdown)))) +(countdown 10) |