Skip to content

Instantly share code, notes, and snippets.

@mfikes
Created January 18, 2019 04:24
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mfikes/f8f1367bc55842a2c7fe4a08d0231c7b to your computer and use it in GitHub Desktop.
ClojureScript 1.10.439
cljs.user=> (defprotocol IFoo
(delete [_]))
false
cljs.user=> (defrecord Foo []
IFoo
(delete [_] 1))
cljs.user/Foo
cljs.user=> (delete (->Foo))
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment