Indentation of If-Then-Else

Henning Thielemann haskell at henning-thielemann.de
Tue Oct 24 12:46:57 EDT 2006


On Tue, 24 Oct 2006, Neil Mitchell wrote:

> > > Actually if-then-else isn't used that often today. Most programmers
> > > gave it up in favor of guards.
> > 
> > I question both these statements. Can you cite some evidence here?
> 
> I have 501 if statements in my current project. Yhc has 626. Hoogle
> has 101. If's seem pretty well used to me!

I obviously read the wrong code, sorry. :-)



More information about the Haskell-prime mailing list