Skip to content

Instantly share code, notes, and snippets.

@benfleis
Created March 30, 2015 08:55
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 benfleis/ad3324a65e6ed8091546 to your computer and use it in GitHub Desktop.
Save benfleis/ad3324a65e6ed8091546 to your computer and use it in GitHub Desktop.
(ns datascript.dummy)
(comment
(deftype Foo [x])
(extend-type Foo
ILookup
(valAt [k] nil)
(valAt [k not-found] nil)
))
(do
(deftype Foo [x]
ILookup
(valAt [f k] nil)
(valAt [f k not-found] nil)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment