Skip to content

Instantly share code, notes, and snippets.

@jellybob
Created December 14, 2012 09:39
Show Gist options
  • Select an option

  • Save jellybob/4284073 to your computer and use it in GitHub Desktop.

Select an option

Save jellybob/4284073 to your computer and use it in GitHub Desktop.

Revisions

  1. jellybob created this gist Dec 14, 2012.
    3 changes: 3 additions & 0 deletions bad_multimethod_example.clj
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    defmulti foo (fn [ identifier, message ] identifier)
    (defmethod foo :hello [ message ]
    (println "Hello " message))