//
(ns clojure.examples.hello
(:gen-class))
;; This program displays Hello World
(defn Example []
(loop [x 10]
(when (> x 1)
(println x)
(recur (- x 2)))))
(Example)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265578.html