Well here I am over a year later with the same problem. I'm curious, what 
was your solution for the time being?

On Tuesday, September 27, 2011 1:06:37 PM UTC-5, David Nolen wrote:
>
> On Tue, Sep 27, 2011 at 1:54 PM, Nathan Sorenson <nd...@sfu.ca<javascript:>
> > wrote:
>
>> Should IPersistentCollection even be defining 'empty', if one of the 
>> language's key data types doesn't support it? I think it would be better to 
>> either pull 'empty' into it's own protocol so clojure.walk doesn't match on 
>> IPersistentCollection when walking a data structure with the false 
>> expectation that it can create an empty version, or rename 'empty' it to 
>> something that records can implement, like 'default.' 
>
>
> This is a fair point. ClojureScript fixes this by providing 
> IEmptyableCollection.
>
> David 
>

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