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
  • Last modified: 2024/10/05 06:15
  • by 127.0.0.1