목차

list*

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

Syntax

(list* listitems [lst])

Example

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

Output

(1 2 3)

Refs


관련 문서