Skip to content

Instantly share code, notes, and snippets.

@sarahhodne
Created May 30, 2012 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sarahhodne/53a6179953dee821e16b to your computer and use it in GitHub Desktop.
Save sarahhodne/53a6179953dee821e16b to your computer and use it in GitHub Desktop.
(defn- convert-values
[server]
(map
(fn [[k v]]
(cond
(= v "TRUE") [k true]
(= v "FALSE") [k false]
:else [k v]))
server))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment