Returns the remaining items in the list after the first item.
Following is the syntax.
Parameters − ‘lst’ is the list of items.
Return Value − A list of items with the first item removed.
Following is an example of rest in Clojure.
(ns clojure.examples.example (:gen-class)) (defn example  (println (rest (list 1 2,3)))) (example)
The above program produces the following output.