Skip to content

Instantly share code, notes, and snippets.

@cemerick
Created May 5, 2010 11:47
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 cemerick/31dcb5bd2cacb7ef29ad to your computer and use it in GitHub Desktop.
Save cemerick/31dcb5bd2cacb7ef29ad to your computer and use it in GitHub Desktop.
user=> (defprotocol Foo
(blah [a]))
Foo
user=> (binding [blah identity]
(blah 5))
#<CompilerException java.lang.IllegalArgumentException: No implementation of method: :blah of protocol: #'user/Foo found for class: java.lang.Integer (NO_SOURCE_FILE:668)>
user=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment