Skip to content

Instantly share code, notes, and snippets.

@irmac
Last active August 29, 2015 14:21
Show Gist options
  • Save irmac/f99259eadeeb829f5ce2 to your computer and use it in GitHub Desktop.
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.
(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