I found what I needed. In cljs.core we have this (extend-protocol IPrintWithWriter ...)
Which defines how to print various sequences. On Friday, March 4, 2016 at 8:07:29 PM UTC-5, William la Forge wrote: > > I've implemented sequences in Clojure with no problems. But I'm a lot > weaker when it comes to clojurescript! > > When I create an instance of my own sequence type, CountedSequence, and > try to print it, all I get is > > #object[durable.CountedSequence.CountedSequence] > > Here's the code: > https://github.com/aatree/aademos/blob/master/durable/src/cljs/durable/CountedSequence.cljs > > I've tried modeling it on cljs.core/IndexedSeq, but to no avail. > > Any hints would be appreciated. Thanks! > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.