Created
January 18, 2019 04:24
-
-
Save mfikes/f8f1367bc55842a2c7fe4a08d0231c7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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