RE: [GHC] #9153: TcCoercible test is failing with context reduction stack overflow

2014-05-30 Thread Simon Peyton Jones
Thanks for this. I've improved Note [Order of Coercible Instances] in TcInteract Generally, it's much better to give an actual, concrete example in the Note, and refer to the ticket for additional background. It took me a few minutes to re-read the long #9117 to reconstruct the example that

Re: segfault in RTS - can anyone help me tracking this bug down?

2014-05-30 Thread Ömer Sinan Ağacan
Hi all, Here's an update. While playing with some parameters I managed to produce a case where compilation still fails, but this time with an assertion error instead of a segfault: ... snipped ... [112 of 202] Compiling System.Posix.Types ( System/Posix/Types.hs,

Expose Other Parsers for GHC API

2014-05-30 Thread Andrew Gibiansky
Hello, I would like to be able to use the GHC API for parsing. Right now this is in the Parser and Lexer modules: Parser: http://www.haskell.org/ghc/docs/7.8.2/html/libraries/ghc-7.8.2/Parser.html Lexer: http://www.haskell.org/ghc/docs/7.8.2/html/libraries/ghc-7.8.2/Lexer.html GHC currently