Outlaw tabs

Jon Fairbairn jon.fairbairn at cl.cam.ac.uk
Mon Jan 26 05:58:13 EST 2009


Achim Schneider <barsoap at web.de> writes:

> Twan van Laarhoven <twanvl at gmail.com>
> wrote:
>> Tabs can be convenient for quick scripts and things like that, where
>> you wouldn't use -Wall. And while I keep hearing about the problems
>> with tabs, I have never encountered any with Haskell code.
>> 

> If you want a key to quickly indent your code, use that funky key with
> those two arrows, but don't let it produce a tab character while you're
> editing text. Preferably, let it analyse the syntax of the previous line
> and automagically Indent By The Right Amount.

Exactly. There's no reason that convenience of input should
be part of the language syntax.  It's a job for another
component.

-- 
Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk




More information about the Haskell-prime mailing list