Re: Another CPP gotcha for the manual

2013-11-03 Thread Daniel Trstenjak
An example in the wild is in the package wai-extra, in the file Network/Wai/Middleware/RequestLogger.hs where the */* construct appears twice in the comments. An even more common case could be the operator '//' of the vector package. cpp also removes C++ style comments. I once almost got crazy

Re: Another CPP gotcha for the manual

2013-11-03 Thread Mark Lentczner
This does not appear to be the case, at least any more. The way GHC invokes gcc for c pre-processing only removes /*…*/ style comments, not the later // style: module Main where (//) :: Double - Double - Double a // b = a / b / b main = print $ 1 // 2 works: runhaskell -cpp CppTest2.hs 0.25

7.8.1 RC

2013-11-03 Thread Austin Seipp
Hello all, First and foremost, I realize that I said an RC was coming on Friday along with a branch, but I've unfortunately been a bit behind the gun this week, and several things more things have come to my attention recently. For the delay, I am very sorry. Here's an update on the most