>
> Huh?!? Is this a bug in Hugs? Is it confused by the `<' and
> `>' in the HTML code? No! It is just doing what the
> Haskell98 report says:
>
> C Literate comments
> [...]
> To capture some cases where one omits an ">" by mistake,
> it is an error for a program line to appear adjacent to a
> non-blank comment line, where a line is taken as blank if
> it consists only of whitespace.
>
> What the rationale is for this, is a big mystery to me. Look
> at "to capture some cases"; what cases are captured by this?
> And what cases are not captured by this? And why does this
> silly restriction capture any of these cases?
I believe the "common case" is the following:
> data Foo a = A a | B a | C
>
> foo (A x) = f x
foo (B x) = g x
> foo _ = error "unimplemented"
or possibly
> bar x = case e x of
Just a -> a
Nothing -> b
Both of these are caught by the rule.
I agree that with additional block markers, this is extremely annoying
- but remember that unlit has no idea they are there.
--KW 8-)