Hi,

the difference between type and class is, that type inspects the metadata 
first for a :type keyword. This let's you bless data structures with a type 
tag eg. for printing or multimethod dispatching. This predates records and 
protocols. It is used in pr, which triggers the exception while printing in 
the repl. It's not a bug. It's a (old) feature.

Kind regards
Meikel

-- 
-- 
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/groups/opt_out.

Reply via email to