[Haskell-cafe] Coding conventions for Haskell?

Johan Tibell johan.tibell at gmail.com
Sat Sep 25 07:44:07 EDT 2010


On Sat, Sep 25, 2010 at 11:24 AM, Petr Pudlak <deb at pudlak.name> wrote:
> sometimes I have doubts how to structure my Haskell code - where to break
> lines, how much to indent, how to name functions and variables etc. Are
> there any suggested/recommended coding conventions? I searched a bit and I
> found a few articles and discussions:

Quite a few people follow my style guide

    http://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md

which codifies the style used in Real World Haskell, bytestring, text,
and a few other libraries.

-- Johan


More information about the Haskell-Cafe mailing list