(def! fib
(fn* (n)
(if (< n 2)
n
(+ (fib (- n 1)) (fib (- n 2))))))
(prn (fib 10))
We welcome contributions to GoLisp! If you have an idea for a new feature or have found a bug, please open an issue. To submit a change, fork the repository and create a pull request with your changes.
GoLisp is licensed under the MIT License. See LICENSE for more details.