happy, ghc and {# OPTIONS #} pragma

Simon Marlow simonmar@microsoft.com
Tue, 10 Jun 2003 11:43:01 +0100


=20
> Martin Norb=E4ck <d95mback@dtek.chalmers.se> writes:
>=20
> > {-# OPTIONS -fglasgow-exts -cpp #-}
> > -- parser produced by Happy Version 1.13
> > {-# OPTIONS -fno-warn-unused-matches #-}
>=20
> Generally, it'd be nice to be able to occasionally suppress warnings
> for sections of code (with better than module granularity), where you
> know the code is safe.=20
>=20
> Any chance of something like that?

Yes, it would indeed be useful.  I doubt we'll get around to it in the =
near future, though.

Cheers,
	Simon