Another CPP gotcha for the manual

Daniel Trstenjak daniel.trstenjak at gmail.com
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.

Greetings,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131103/a1532b51/attachment.html>


More information about the ghc-devs mailing list