Re: Incorrect syntax errors

2001-12-11 Thread Johan Nordlander
> On Tue, Dec 11, 2001 at 11:39:48AM -0800, Johan Nordlander wrote: >> On Tuesday, December 11, 2001, at 05:17 AM, Ian Lynagh wrote: >> >>> { >>> foo = 5 >>> } >> >> I'm afraid both your examples are incorrect. The first one >> isn't a valid Haskell module (as you're probably aware)

Re: Incorrect syntax errors

2001-12-11 Thread Ian Lynagh
On Tue, Dec 11, 2001 at 11:39:48AM -0800, Johan Nordlander wrote: > On Tuesday, December 11, 2001, at 05:17 AM, Ian Lynagh wrote: > > > { > > foo = 5 > > } > > I'm afraid both your examples are incorrect. The first one > isn't a valid Haskell module (as you're probably aware), an

Re: Incorrect syntax errors

2001-12-11 Thread Johan Nordlander
On Tuesday, December 11, 2001, at 05:17 AM, Ian Lynagh wrote: > > Hi guys, > > > With the module > > { > foo = 5 > } > > I get > > ERROR tt.hs:2 - Syntax error in input (unexpected `{', possibly due > to bad layout) > > > and with the module > > module Fo

Re: Incorrect syntax errors

2001-12-11 Thread Ian Lynagh
On Tue, Dec 11, 2001 at 01:17:07PM +, Ian Lynagh wrote: > > { > foo = 5 > } > > ERROR tt.hs:2 - Syntax error in input (unexpected `{', possibly due > to bad layout) I still think this is an error. > module Foo where { > foo = 5 > bar = 6 >

Incorrect syntax errors

2001-12-11 Thread Ian Lynagh
Hi guys, With the module { foo = 5 } I get ERROR tt.hs:2 - Syntax error in input (unexpected `{', possibly due to bad layout) and with the module module Foo where { foo = 5 bar = 6 } ERROR tt.hs:4 - Syntax error in definition (un