Classes / Methods

; Clojure has no static methods: a function of a namespace is already one,
; it belongs to no type and needs no instance

(defn get-min [& values]
  (if (empty? values)
    0
    (reduce min values)))

(def result (get-min 3 2 5 1 4))
; result is 1

(println result)