
30 Jun
2009
30 Jun
'09
9:05 p.m.
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