haskell/haskell-mode — pull request #9 by chrisdone (2012-03-17 10:06:01+00:00)
Title: Import formatting

Added [haskell-align-imports](https://github.com/chrisdone/haskell-mode/blob/b4835ae7bb7d9b678077e745a4548fb0278afc0c/haskell-align-imports.el) and [haskell-sort-imports](https://github.com/chrisdone/haskell-mode/blob/b4835ae7bb7d9b678077e745a4548fb0278afc0c/haskell-sort-imports.el) modules with function `haskell-mode-format-imports'. Bind it to whatever keybinding you like. I prefer `C-c C-.`.