Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # Recursion ### Example <code> (ns clojure.examples.hello (:gen-class)) ;; This program displays Hello World (defn Example [] (loop [i 0] (when (< i 5) (println i) (recur (inc i))))) (Example) </code> #### Output <code> 0 1 2 3 4 </code> ## Refs - https://www.tutorialspoint.com/clojure/clojure_recursion.htm open/recursion.txt Last modified: 2024/10/05 06:15by 127.0.0.1