
16 Apr
2014
16 Apr
'14
6:42 a.m.
Hi Brandon,
If ghc-clang-wrapper causes problems with your code, I'd suggest to fix your code. I'm not sure this actually happens.
It does. See my previous messages. Haskell is not C, and some Haskell constructs simply will not work with a program that must lex (and, for ANSI, parse) C code.
I agree that ghc-clang-wrapper can cause problems and GHC should provide its own CPP. But have you ever experienced such problems actually? I have been using Mavericks just after it was released, and using both GHC 7.6.3 and GHC 7.8 (head in the past) with ghc-clang-wrapper/new alex/new happy. I have not experienced such problems so far. --Kazu