> general question > > * is there any parser that keeps comments > (i.e. makes AST nodes from them)? what parser does Haddock use? you might want to add your voice and cc to Ticket #1886 ;-) "GHC API should preserve and provide access to comments" http://hackage.haskell.org/trac/ghc/ticket/1886 claus