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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to