This already works:

(extend-type js/Object ...)

On Sun, Dec 11, 2011 at 1:21 PM, Jack Moffitt <[email protected]> wrote:

> Is there a technical reason that there is no (extend-type object ...)
> in ClojureScript?
>
> I just found myself implementing several protocols on the native
> object to get better host interop, but it occurred to me that if it
> was this easy, surely it would have already been done.
>
> If there is no technical reason it can't be done, would a patch to add
> the relevant protocols be accepted?
>
> jack.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

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

Reply via email to