[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell
Subject:    Re: [Haskell] I'm a beginner --- struggling with the SimpleJSON
From:       Daniel Fischer <daniel.is.fischer () googlemail ! com>
Date:       2010-12-14 22:36:40
Message-ID: 201012142336.41429.daniel.is.fischer () googlemail ! com
[Download RAW message or body]

On Tuesday 14 December 2010 22:44:23, David Jameson wrote:
> OMG --- that was it --- I can't tell you how many hours I have been
> wrestling with this.
>
> Thank you so much for the quick response.
>
> I was aware that Haskell required indentation for some things (and I'm a
> fan of indentation) but I didn't realize it required NO indentation for
> some things --- I thought that went away with FORTRAN  (grin)

Well, you could have indented the rest of the code to the same level as the 
`data JValue'. The point is that all declarations at the same level must 
have the same indentation (unless you use explicit braces and semicolons).

>
> D


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic