2015-05-22 6:43 GMT-03:00 Sven Van Caekenberghe <s...@stfx.eu>: >> On 21 May 2015, at 16:50, Esteban A. Maringolo <emaring...@gmail.com> wrote: >>> About the spaceship operator (<=>), is this something we'd like to have >>> around? (I like it). http://en.wikipedia.org/wiki/Three-way_comparison
>> http://www.smalltalkhub.com/#!/~emaringolo/SortFunctions >> I use them extensively. > I had a look. > > Apart from the fact that for some reason, the extensions on MAElement are in > the Core package, hence loading just Core gave errors, things looked OK. > > This is generally useful, small and a very good example of super cool OO > design. > > I would vote to integrate this (<=> and all). For some reason the extensions of MAElementDescription where both in SortFunctions-Core and SortFunctions-Magritte. Also the dependency to Magritte in the Metacello config was wrong. Now it works as expected (please test :)). And a new stable version was uploaded to the smalltalkhub repo. Please notice my port includes the option to collate the undefined elements at the beginning or the end, in a similar fashion to ORDER BY [column] NULLS [LAST|FIRST] in SQL (Oracle/PostgreSQL at least). I would also vote to have this in the base image. It is my base image at least :) Regards! -- Esteban A. Maringolo