Skip to content

Instantly share code, notes, and snippets.

@yokolet
Created April 2, 2014 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yokolet/9938351 to your computer and use it in GitHub Desktop.
Save yokolet/9938351 to your computer and use it in GitHub Desktop.
sample of function with let for ClojureBridge CommunityDocs
(defn question2 [she he]
(let [possessive (fn [x] (str x "'s"))
hers (possessive she)
his (possessive he)]
(str "Hey " she ", are " hers " and " his " the same?")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment