[squeak-dev] Re: Why is Heap>>#species => Array?
nicolas cellier
ncellier at ifrance.com
Thu Feb 21 21:19:43 UTC 2008
nicolas cellier a écrit :
>
> I have not the background to answer you.
> All I can tell is that this triggers another associativity failure:
>
>
> | anArray heap1 heap2 |
> anArray := #(1 2 3).
> heap1 := Heap withAll: (1 to: 3) sortBlock: [:a :b | a < b].
> heap2 := Heap withAll: (1 to: 3) sortBlock: [:a :b | b > a].
> (heap1 = anArray) & (heap2 = anArray) ==> (heap1 = heap2)
>
opened http://bugs.squeak.org/view.php?id=6943 for this one
More information about the Squeak-dev
mailing list
|