[Haskell] Re: Use of tab characters in indentation-sensitive code

Ronny Wichers Schreur ronny at cs.kun.nl
Mon Jan 26 11:28:10 EST 2004


Wolfgang Thaller writes (to the Haskell mailing list):

> IMHO, there should only be warnings about tabs when their
> size makes a difference to the meaning of the program,

I agree and would suggest an even more stringent test to
warn against

> a = let x = 1
>         y = 2 -- OK
>     in ...

because the (visual) interpretation depends on the font
you use (fixed width vs. proportional).


Cheers,

Ronny Wichers Schreur


More information about the Haskell mailing list