Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home @ the codeface

Iain MacLeod irmac

🏠
Working from home @ the codeface
  • Edinburgh, UK
View GitHub Profile
@irmac
irmac / client-greeter2.clj
Last active Aug 29, 2015
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.
View client-greeter2.clj
(defn client-greeter [greeting name] (#(str %1 %2) greeting name))
@irmac
irmac / client-greeter1.clj
Last active Aug 29, 2015
Learning Clojure - Anonymous Functions-1
View client-greeter1.clj
(defn client-greeter [name] (#(str "Hello " %) name))
You can’t perform that action at this time.