(ns clojure.examples.example
(:gen-class))
;; This program displays Hello World
(defn Example []
(def seq1 (seq [5 4 3 2 1]))
(def seq2 (take 2 seq1))
(println seq2))
(Example)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265676.html