1 Jul 2009 03:05
Re: Changing module headers
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 -- Adam
RSS Feed