On 26 November 2010 16:48, Laurent PETIT <[email protected]> wrote:
> 2010/11/26 Steven E. Harris <[email protected]>
>> Daniel Werner <[email protected]> writes:
>> > (some identity maps), on the other hand, checks whether there is any
>> > non-empty map *in the coll of maps*.
>>
>> By "non-empty" here, do you really mean non-nil? I don't see how the
>> identity function would tell you whether any of the maps are empty or
>> not.
>
> Yes, he meaned logical false, which is, so to speak : neither nil nor false.
Thanks for clarifying, Laurent. I forgot that while (some identity
...) disregards nil and false, it would still treat {} as a "truthy"
value.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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