Функции

;; there is no "return": the last expression of the body is the result
(defn get-sum [n1 n2]
  (+ n1 n2))

;; quot is integer division; (/ 5 3) would give the ratio 5/3
(defn get-div [n1 n2]
  (quot n1 n2))

(def sum (get-sum 5 3))
;; sum is 8
(def div (get-div 5 3))
;; div is 1

(println "sum is" sum)
(println "div is" div)