Considering the current results from `[] on multisets, they would return 0 or 1, regardless on how many times the element is repeated.
What would
foreach ( ~(<1>); int i; ) ...
do?
/ Mirar
Previous text:
2003-02-06 14:04: Subject: Xor
Would ~(< 1 >)[1] return (infinity-1) or 0? And ~(< 1,1 >)[1] (infinity-2)?
It would probably be more useful to view multisets as sets when negating them. I think. That is, (~(< 1 >))[1] is 0.
/ Per Hedbor ()