haskell-cafe@haskell.org
[Top] [All Lists]

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

Subject: Re[2]: [Haskell-cafe] Re: (flawed?) benchmark : sort
From: Bulat Ziganshin
Date: Mon, 10 Mar 2008 15:17:24 +0300
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@xxxxxxxxx

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>