Skip to content

Instantly share code, notes, and snippets.

@jellybob
Created December 14, 2012 09:39
Show Gist options
  • Save jellybob/4284073 to your computer and use it in GitHub Desktop.
Save jellybob/4284073 to your computer and use it in GitHub Desktop.
defmulti foo (fn [ identifier, message ] identifier)
(defmethod foo :hello [ message ]
(println "Hello " message))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment