My reading of the report is that Hugs is right and GHC is wrong.
Do the Glasgow folks agree?
> Possibly this has already been spotted, I don't follow the bus lists.
> Anyway, the following snippet of code is an error to GHC, while Hugs
> thinks it's ok..
>
> main = do
> foo
> where
> bar = ...
>
> GHC gives the error
> > parse error on input: "where"
>
> change the indentation to
>
> main = do
> foo
> where
> bar = ...
>
> and everything works fine. I don't know which of these excellent pieces
> of software is at fault, but personally prefer the hugs interpretation,
> which comes naturally to someone who uses the 'tab' key a lot :)