> You can get hold of a protocol's implementation for a particular type 
> if it was attached to a type with extend / extend-type / 
> extend-protocol: 
>
 
Yes, but it's unofficial, undocumented and, as you've stated already, can't 
be used with inlined implementations.
 

> Implementations specified inline in a deftype/defrecord form cannot be 
> so obtained, because they only exist as JVM methods. Basically by 
> inlining an implementation you gain speed at the cost of some dynamic 
> / reflective capabilities. 
>

I don't see the reason why deftype\defrecord can't also save the inlined 
bodies in functions.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to