[xmonad] Changing module headers

Adam Vogt vogt.adam at gmail.com
Tue Jun 30 21:05:19 EDT 2009

You could strip comments with something like this. The results might be 
slightly better, depending on how well sim works. Haskell-src-exts is 
improving, but it still fails on a couple modules in contrib.

#!/usr/bin/env runghc

> import System.Environment
> import Language.Haskell.Exts
> import Control.Monad

> main = mapM_ (putStrLn . prettyPrint . fromParseResult <=< parseFile) =<< getArgs


More information about the xmonad mailing list