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