Well if you enable TemplateHaskell then code like foo$bar gets a new meaning and if you enable Arrows then proc is a reserved keyword, etc etc.



On Tue, Aug 20, 2013 at 1:06 PM, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> wrote:
On 20/08/13 11:56, Dag Odenhall wrote:
> Good stuff!
>
> Is there any way, or plans for a way, to parse a file based on its LANGUAGE
> pragmas? Last I checked e.g. HSP simply enabled all extensions when
> parsing, which can cause code to be parsed incorrectly in some cases.
>
>

Can you give any examples of such cases? I had recently been asked about
this and could not come up with much at all.


--
Mateusz K.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe