thimk and spelling-suggest
Thimk is a command-line spelling word suggestion program written in Haskell. You give it a possibly-misspelled word, and it spits out one or more properly-spelled words in order of likelihood of similarity.
The spelling-suggest package is a Haskell library containing the guts of thimk.
See the GitHub page for more information.