News for hackers. Stuff that matters.
Re:Haskell version of Norvig's spelling corrector by quchen on Friday December 19, 2014 @01:20PM (#8773553)
For reverse sorting, there's a type that does specifically that.

    sortBy (comparing (Down . snd))
See http://hackage.haskell.org/package/base-4.7.0.1/docs/Data-Or...
Re:Haskell version of Norvig's spelling corrector by evincarofautumn on Friday December 19, 2014 @06:58PM (#8775252)
True, but I prefer not to use typeclasses in that way.