[Haskell-cafe] Re: (flawed?) benchmark : sort

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Mar 10 08:17:24 EDT 2008


Hello Adrian,

Monday, March 10, 2008, 2:00:18 PM, you wrote:

>> instance Ord Foo where
>>     compare (Foo a _) (Foo b _) = compare a b

> I would consider such an Ord instance to be hopelessly broken, and I

hmmmm. for example, imagine files in file manager sorted by size or date


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list