Created
December 25, 2013 23:11
-
-
Save aruld/8127799 to your computer and use it in GitHub Desktop.
Listing 4. Clojure processing from http://www.ibm.com/developerworks/java/library/j-jn10/index.html
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 process [list-of-emps] | |
(reduce str (interpose "," | |
(map clojure.string/capitalize | |
(filter #(< 1 (count %)) list-of-emps))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment