A Down newtype in Data.Ord?
Brent Yorgey
byorgey at seas.upenn.edu
Mon Nov 21 03:15:56 CET 2011
On Sun, Nov 20, 2011 at 09:08:34PM -0500, Brandon Allbery wrote:
> On Sun, Nov 20, 2011 at 21:06, Ivan Lazar Miljenovic <
> ivan.miljenovic at gmail.com> wrote:
>
> > Wouldn't Perverse have some kind of random (via unsafePerformIO of
> > course!) comparison functionality? ;-)
>
>
> sortBy (\_ _ = EQ) ?
Haha, yes, having everything compare as equal sounds much more
perverse: it is technically valid but completely defeats the entire
purpose. (Random comparison, in comparison, would just be evil.)
-Brent
More information about the Libraries
mailing list