Word Ladder in Haskell
2026-06-17 Greg Bacon

So pure. A literate Haskell word ladder program: breadth-first search through a dictionary, using the State and list monads to track the search fringe.

Gyrigrams
2009-07-09 Greg Bacon

Pairs of words equivalent up to rot13. A literate Haskell program that finds gyrigrams in a dictionary, how rot13 works, and the pair that are synonyms.

Cleaning up your Haskell imports
2009-06-29 Greg Bacon

Discarding unused external modules. How ghc’s -ddump-minimal-imports option writes a minimal import list for a Haskell module, and where the result falls short.