Another CPP gotcha for the manual

Daniel Trstenjak daniel.trstenjak at
Sun Nov 3 19:01:26 UTC 2013

> 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 finding this kind issue,
because the resulting code still type checked.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list