On 27.03.2009, at 22:25, srader wrote:

> Thanks for the explanation and the patch. But instead of patching
> print-method, maybe vary-meta should be patched to handle refs?

That doesn't make sense to me. vary-meta takes a value object and  
returns another value object with identical value but different  
metadata. Refs are not values, they store a value and its metadata.  
Changing the value or the metadata of a ref is limited to  
transactions. So what would the return value of vary-meta called on a  
ref be? A new ref? The current value of the ref? Neither makes much  
sense in my opinion.

Konrad.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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