Skip to content

Instantly share code, notes, and snippets.

@ordnungswidrig
Created January 18, 2012 15:12
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 ordnungswidrig/1633445 to your computer and use it in GitHub Desktop.
Save ordnungswidrig/1633445 to your computer and use it in GitHub Desktop.
defrecord should defn ->RecordType earlier
(defprotocol Foo (foo [this]))
(defrecord FooImpl [x] Foo (foo [_] (->FooImpl x)))
;; => Unable to resolve symbol: ->Foo in this context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment