Massive updates to the website

This commit is contained in:
Nathan Braswell
2020-05-12 16:22:41 -04:00
parent dac3e41101
commit c799cf485b
5 changed files with 239 additions and 80 deletions

8
fib-comp.kp Normal file
View File

@@ -0,0 +1,8 @@
(def! fib (fn* (n) (cond (= 0 n) 0
(= 1 n) 1
true (+ (fib (- n 1)) (fib (- n 2))))))
(def! main (fn* ()
(do
(let* (n 27)
(println "Fib(" n "): " (fib n)))
0)))