Am Dienstag, 29. November 2005 16:16 schrieb Sebastian Sylvan:
> IIRC Haskell assumes a tab is 8 spaces.

Correctly, it is explicitly specified in the Haskell spec, see:

   http://haskell.org/onlinereport/syntax-iso.html#layout

> IMO that's way too much. Haskell tends to take up quite a bit of
> horizontal real-estate so I usually go with 2 spaces.
>
> At any rate, I set my editor to convert them to spaces.

I think this in general the best idea for all projects, even if the language 
in question has no layout rule. Tabs are simply evil...

Cheers,
   S.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to