“Golfing Run Length Encoding in Haskell”, Gwern2008-09-26 (, ; backlinks)⁠:

Haskell: step by step refactoring to concision