(ns clojure.examples.example
(:gen-class))
(defn Example []
(try
(def string1 (slurp "Example.txt"))
(println string1)
(catch Exception e (println (str "caught exception: " (.getMessage e))))))
(Example)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265659.html