Is the following legal Haskell?  (I'm sure I've asked this
before, but i don't think there was a consensus.)

f x = g x
    where g y = case y of
        [] -> 0

The problem is that after where a '{' is inserted and another after of.
The report now says that for each subsequent line if a line is
indented less than an insert '{' then a '}' is inserted.  Since '[]'
is indented less than 'g' a '}' is inserted, or?

Or is it only the most recent inserted '{' that counts?
(If that is the case, I've got more questions, but they can wait.)

        -- Lennart

Reply via email to