; Clojure has no indexers: a map or a vector is itself a function of its key
(def power-of-two
(into {} (map (fn [i] [i (bit-shift-left 1 i)]) (range 17))))
(println (power-of-two 2)) ; 4
(println (power-of-two 8)) ; 256
(println (power-of-two 16)) ; 65536
(def squares [0 1 4 9 16])
(println (squares 3)) ; 9, a vector is a function of its index too