user=> (union)
#{}
user=> (union #{1 2})
#{1 2}
user=> (intersection #{1 2})
#{1 2}
user=> (intersection #{1 2} #{2 3})
#{2}
user=> (intersection #{1 2} #{2 3} #{2 4})
#{2}
Don't take me too seriously when I post my messages :-)
Anyway, Rich Hickey closed the issue, so please post anything that is
still broken.
Thank you, Frantisek
On 22 Ún, 16:07, Jeffrey Straszheim <[email protected]>
wrote:
> Does zero arguments return #{} ?
>
> Has intersection changed?
>
> On Sun, Feb 22, 2009 at 5:16 AM, Frantisek Sodomka <[email protected]>wrote:
>
>
>
> > Hello! Just a quick note:
> > Issue 52: Make set/union accept any number of arguments
> >http://code.google.com/p/clojure/issues/detail?id=52
>
> > seems to be solved already by:
>
> > SVN 1276
> >http://code.google.com/p/clojure/source/detail?r=1276
> > added multi-arg clojure.set/union/difference/intersection, patch from
> > jawolfe
>
> > Frantisek
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---