The "function", "object", "array" symbols are just symbols that have meaning in the context of the `extend-type` macro, so nothing special syntactically. They just map internally to the type strings produced by `goog/typeOf`, used for protocol dispatch.
Just added some documentation to the `extend-type` doc: https://github.com/cljsinfo/cljs-api-docs/blob/catalog/refs/cljs.core_extend-type.md On Thursday, September 3, 2015 at 3:17:21 PM UTC-5, Scott Nelson wrote: > Thanks- that worked perfectly. I did not need to extend IFn and I actually > got a runtime error when I tried (perhaps because IFn is a protocol in > ClojureScript?). What are "function"/"object"/ect. in this case, > syntactically? Is there any documentation about this? > > Thanks again! > > -Scott -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
