MarcoSero/Norvigs-Spelling-Corrector — pull request #2 by fffej (2014-12-19 18:16:44+00:00)
Title: Hlint

Hi, saw your post on HN. I love the Norvig spell checker; great to see small lumps of code that give a whole lot of power.

As a fellow newbie Haskeller, Have you seen hlint (http://community.haskell.org/~ndm/hlint/)?

It's a linter for Haskell and gives lots of suggestions. This pull request applies some of those (mostly removing some redundant () and $). There's also the handy function `comparing` from `Data.Ord` which simplifies the lambda in the `sortBy` function.