24 Aug
2005
24 Aug
'05
8:56 a.m.
On 8/24/05, Krasimir Angelov <kr.angelov@gmail.com> wrote:
2005/8/24, John Meacham <john@repetae.net>:
ooh. neat. any chance it could be extended to preserve haddock comments and attach them to the right places? I thought it would be really cool if compilers could use the haddock documentation when printing out error messages and be able to query documentation as well as type info from inside the interpreter. John
I think that it could be more useful to preserve all comments. Haddock can filter out only the haddock style comments but there are tools that use another style of comments.
I can't really imagine what the AST would look like if it should support comments in arbitrary places. -- Friendly, Lemmih