//
(ns clojure.examples.hello
(:gen-class))
;; This program displays Hello World
(defn Example []
(def x 5)
(case x 5 (println "x is 5")
10 (println "x is 10")
(println "x is neither 5 nor 10")))
(Example)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265582.html