(ns clojure.examples.example
(:require [clojure.set :as set])
(:gen-class))
(defn example []
(def demokeys (hash-map z 1 b 2 a 3))
(def demonew (set/rename-keys demokeys {z newz b newb a newa}))
(println demonew))
(example)
(ns clojure.examples.example
(:require [clojure.set :as set])
(:gen-class))
(defn example []
(def demokeys (hash-map z 1 b 2 a 3))
(def demonew (set/rename-keys demokeys {z newz b newb a newa}))
(println demonew))
(example)