Last active
August 29, 2015 14:21
-
-
Save irmac/f99259eadeeb829f5ce2 to your computer and use it in GitHub Desktop.
Clojure function that takes two arguments - a greeting message and a name, and prints the greeting message and name to screen. Makes use of anonymous function.
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 client-greeter [greeting name] (#(str %1 %2) greeting name)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment