Set difference (or nearest approximation)

cdrick cdrick65 at gmail.com
Wed Dec 12 13:42:49 UTC 2007


2007/12/12, cdrick <cdrick65 at gmail.com>:
>
> just playing around:
>
> (#(1 2 3) asSet) difference:  (#(1 2 3 4 5) asSet)                 a Set()


to be more complete:

#(1 2 9) asSet difference: #(1 3) asSet                 a Set(2 9)
#(1 2 3 9) asSet difference:  #(1 2 3 4 5) asSet     a Set(9)

is it the right definition of set differece ?
aren't we expecting   union minus intersection ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20071212/1706cd40/attachment.htm


More information about the Squeak-dev mailing list