diff --git a/README.md b/README.md index d9e14ee..c723136 100644 --- a/README.md +++ b/README.md @@ -90,13 +90,13 @@ nil An accumulator from zero to number `n`: ``` clj - (defun accum - ([0 ret] ret) - ([n ret] (recur (dec n) (+ n ret))) - ([n] (recur n 0))) +(defun accum + ([0 ret] ret) + ([n ret] (recur (dec n) (+ n ret))) + ([n] (recur n 0))) - (accum 100) - ;;5050 +(accum 100) +;;5050 ``` A fibonacci function: @@ -277,10 +277,11 @@ Thanks . - [kgann](https://github.com/kgann) - [danielcompton](https://github.com/danielcompton) - [Sander Dijkhuis](https://github.com/sander) +- [@sskorokhodov](https://github.com/sskorokhodov) ## License -Copyright © 2014 [Dennis Zhuang](mailto:killme2008@gmail.com) +Copyright © 2023 [Dennis Zhuang](mailto:killme2008@gmail.com) Distributed under the Eclipse Public License either version 1.0 or (at diff --git a/project.clj b/project.clj index b75dd36..c387fe0 100644 --- a/project.clj +++ b/project.clj @@ -3,6 +3,6 @@ :url "https://github.com/killme2008/defun" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} - :dependencies [[org.clojure/clojure "1.8.0"] + :dependencies [[org.clojure/clojure "1.11.1"] [org.clojure/core.match "1.0.1"] [org.clojure/tools.macro "0.1.5"]])