[Haskell-cafe] Re: ANNOUNCE: haskell-src-exts 0.4.4
Neil Mitchell
ndmitchell at gmail.com
Mon Dec 8 03:29:03 EST 2008
Hi Niklas,
> Apart from this, HSE now also parses any unrecognized pragma in option
> (e.g. LANGUAGE), declaration (e.g. RULES) or expression (e.g. SCC)
> position, allowing user-customized pragmas. Unrecognized pragmas in
> other positions will (unfortunately) give a parse error. If this ever
> means a problem for you - let me know!
This is likely to be a problem for me :-)
I certainly have OPTIONS_DERIVE and CATCH pragmas that I've inserted
into various programs over time. I think failing on an unrecognised
pragma is probably a bad idea, when ignoring a pragma is usually
perfectly safe.
Thanks
Neil
More information about the Haskell-Cafe
mailing list