On Thu, Nov 6, 2008 at 7:53 AM, MikeM <[EMAIL PROTECTED]> wrote:
>
>  But when I try to prefer this:
>
> (prefer-method print-method clojure.lang.PersistentTreeMap
> clojure.lang.IPersistentMap)

You don't need this, because PersistentTreeMap is already a more
specific type than IPersistentMap -- you get the right behavior by
default:

user=> (sorted-map 1 2 3 4 5 6)
#=(sorted-map 1 2,3 4,5 6)

That still doesn't get read in right, and I'm not sure why.  But it
seems to be printing ok.

--Chouser

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