Skip to content

Instantly share code, notes, and snippets.

View irmac's full-sized avatar
🏠
Working from home @ the codeface

Iain MacLeod irmac

🏠
Working from home @ the codeface
View GitHub Profile
@irmac
irmac / client-greeter2.clj
Last active August 29, 2015 14:21
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))
@irmac
irmac / client-greeter1.clj
Last active August 29, 2015 14:21
Learning Clojure - Anonymous Functions-1
(defn client-greeter [name] (#(str "Hello " %) name))