Fri, 25 Jun 1999 09:25:48 -0700, Simon Marlow <[EMAIL PROTECTED]> pisze:

>       f = f where
>       g = g
> 
> then it isn't immediately clear whether the 'g = g' declaration belongs to
> the where clause, or to the top level (and the where clause is empty).

Hmm, is it so important to allow using empty where clauses with layout
processing inside them (inside the empty body)?! If one really wants to
use empty where clause (what for?), he could write just where {}.

For me the indentation of the next level should be allowed to be equal
to the previous, requiring explicit braces in the empty case. I am not
experienced in Haskell, though...

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://kki.net.pl/qrczak/
 \__/          GCS/M d- s+:-- a22 C+++>+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-



Reply via email to