[Haskell-beginners] indentation

Stephen Blackheath [to Haskell-Beginners] mutilating.cauliflowers.stephen at blacksapphire.com
Sun Feb 14 16:46:12 EST 2010


Cave persons such as yourself can use tabs as long as your tab size is 8
characters.  This is "hard-coded" into the Haskell 98 specification.


Jorden Mauro wrote:
>> First of all, *don't mix tabs and spaces for indentation* (best, don't use
>> tabs at all).
> I find the latter a bit too restrictive, especially since I use a text
> editor that is a glorified version of ed. Hitting the spacebar 19
> times is too much to ask of me.
> And as such, I am occasionally forced to do something when a tab
> doesn't get me past the word `where' or `let', but isn't that the
> majority of what Layout specifies?
> Is there a good answer for caveman programmers who like ed and tabs?

More information about the Beginners mailing list