Re: [Haskell-cafe] Alex -g

2011-02-20 Thread Mihai Maruseac
On Sun, Feb 20, 2011 at 10:20 PM, Max Bolingbroke wrote: > On 20 February 2011 19:56, Mihai Maruseac wrote: >> Hi, >> >> When running Alex -g I get several warning telling me that a bang >> pattern is required and that the warning will be an error in GHC 6.14. > > As it happens, that is not an er

Re: [Haskell-cafe] Alex -g

2011-02-20 Thread Max Bolingbroke
On 20 February 2011 19:56, Mihai Maruseac wrote: > Hi, > > When running Alex -g I get several warning telling me that a bang > pattern is required and that the warning will be an error in GHC 6.14. As it happens, that is not an error in GHC 7 (see http://hackage.haskell.org/trac/ghc/ticket/3278):

[Haskell-cafe] Alex -g

2011-02-20 Thread Mihai Maruseac
Hi, When running Alex -g I get several warning telling me that a bang pattern is required and that the warning will be an error in GHC 6.14. It is something along the following lines: Warning: Bindings containing unlifted types must use an outermost bang pattern: { (base) =