Sat, 09 Oct 1999 13:08:39 +0200, Lennart Augustsson <[EMAIL PROTECTED]> pisze:

> > No, because only the indent before the first non-whitespace character
> > in a line matters. Haskell programs can be typeset even in proportional
> > font as long as indents have correct relationships between their
> > lengths.
> 
> You must be using a different Haskell than I am.  :-)

Ah, right, sorry.

I typically put the token after `where' in the next line. BTW, I'm
not sure if the fact that the indentation for layout must increase
is right. I tend to write:

foo x = something... bar...
    where bar = case x of
        Just y  -> baz1
        Nothing -> baz2

where there is only one thing after `where'. But this is illegal,
so I put the binding in the next line and try to fit `where' at the
end of the previous one.

-- 
 __("<  Marcin Kowalczyk [EMAIL PROTECTED] http://www.qrczak.ids.net.pl/
 \__/          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