Created
April 17, 2013 00:57
-
-
Save mnemnion/5400937 to your computer and use it in GitHub Desktop.
π
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn caseify [string] | |
(π¬ (apply str (π (fn [foo] (str "(" "'" (upper-case foo) "'" "|" "'" foo "'" ")")) | |
(rest (split string #"")))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment