Skip to content

Instantly share code, notes, and snippets.

@kyleburton
Created May 15, 2017 14:54
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 kyleburton/456e6dab1c2b92b1a3fa9cac14170674 to your computer and use it in GitHub Desktop.
Save kyleburton/456e6dab1c2b92b1a3fa9cac14170674 to your computer and use it in GitHub Desktop.
(let [chars (->
"01000010 01000101 01000101 01010010"
(.split " ")
vec)
nums (mapv #(Integer/parseInt % 2)
chars)]
(mapv #(-> % char str) nums))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment