Good Haskell Style

Ashley Yakeley ashley at
Fri Aug 3 18:22:54 EDT 2007

David Roundy wrote:
>> * Use one tab to indent each level. Display them at 4 space boundaries.
> But this means that your code will have the possibility of layout bugs that
> not visible to the programmer, since according to the report a tab
> corresponds to eight spaces.  Sounds like the worst of all possible
> worlds.

No layout bugs:

* Use explicit braces and semicolons. Use "Allman" style.

Ashley Yakeley

More information about the Libraries mailing list