The correct way to write this extend-type is

(extend-type MyType
  MyProtocol
  (something
    ([this] 1)
    ([this x] x)))

The version you posted doesn't work in JVM-Clojure either; I don't
have CLJS handy, but I suspect that this version will work fine there.

On Nov 20, 11:36 am, David Nolen <dnolen.li...@gmail.com> wrote:
> Thanks! Patches welcome as well :)
>
> David
>
>
>
>
>
>
>
> On Sun, Nov 20, 2011 at 2:07 PM, Jeff Valk <jv-li...@tx.rr.com> wrote:
> > Issue opened:http://dev.clojure.org/jira/browse/CLJS-104.
>
> > Cheers,
> > Jeff
>
> >  --
> > 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

-- 
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