Use of tab characters in indentation-sensitive code

Peter Simons simons at
Fri Jan 23 20:15:38 EST 2004

Graham Klyne writes:

 > I think that compilers should issue a warning when
 > indentation that determines the scope of a construct is
 > found to contain tab characters.

I second that.

In the same spirit, the compiler should issue a warning when
<tab> is used in literal strings, rather than \t, because
some editors _do_ mess up the formatting and thus change the

IMHO, <tab> is a character you'd really want to avoid using
in source code at all, but obviously, there are others who
think otherwise. ;-)


More information about the Haskell mailing list