Any sort of preprocessing at the beginning of a file appears to insert enough noise to inhibit recognition of file-header pragmas. (Cpphs doesn't appear to help here.)

The flag -P for traditional gnu cpp (or --noline for stand-alone cpphs) should suppress the initial #line noise.

Does ghc still fail to recognise a module-start pragma, even if the only characters preceding it are whitespace?

Regards,
    Malcolm




_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to