;; def names a value; every value here is immutable
;; Long
(def number 42)
(def max-long Long/MAX_VALUE)
(def mb 1048576)
;; Double
(def exp 2.71828)
(def billion 1E+9)
;; BigInt and an exact ratio - both are literals
(def big 12345678901234567890N)
(def third 1/3)
;; String, a literal may span lines
(def greeting "Hello")
(def text "this is some
multiline text")
;; Boolean
(def sun-is-star true)
(def earth-is-star false)
;; Character "A"
(def char-a \A) ;; also \u0041 or (char 65)
;; Keyword, and a vector in place of a tuple
(def status :ready)
(def one [1 "one"])
(println "number is" number)
(println "max-long is" max-long)
(println "mb is" mb)
(println "exp is" exp)
(println "billion is" billion)
(println "big is" big)
(println "third is" third)
(println "greeting is" greeting)
(println "text is" text)
(println "sun-is-star is" sun-is-star)
(println "earth-is-star is" earth-is-star)
(println "char-a is" char-a)
(println "status is" status)
(println "one is" (pr-str one))