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