Skip to content

Instantly share code, notes, and snippets.

@MichaelDrogalis
Created August 30, 2012 03:49
Show Gist options
  • Save MichaelDrogalis/3522127 to your computer and use it in GitHub Desktop.
Save MichaelDrogalis/3522127 to your computer and use it in GitHub Desktop.
(defprotocol Differentiate
(birth-a-different [this]))
(extend java.lang.Long
Differentiate
{:birth-a-different
(fn [this]
5)})
(defn has-a-different [description attribute]
(birth-a-different (type (attribute description))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment