open:list-a

list*

Creates a new list containing the items prepended to the rest, the last of which will be treated as a sequence.

(list* listitems [lst])

(ns clojure.examples.example
   (:gen-class))
(defn example []
   (println (list* 1 [2,3])))
(example)

Output

(1 2 3)

  • open/list-a.txt
  • 마지막으로 수정됨: 2021/11/23 00:25
  • 저자 127.0.0.1