Skip to content

Instantly share code, notes, and snippets.

@swannodette
Created June 11, 2010 15:35
Show Gist options
  • Save swannodette/434649 to your computer and use it in GitHub Desktop.
Save swannodette/434649 to your computer and use it in GitHub Desktop.
(definterface Foo
(^long bar [^long a ^long b]))
(defrecord Baz []
Foo
(bar [_ a b] (+ a b)))
(def x (Baz.))
(bar x 1 2) ; Unable to resolve symbol bar in this context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment