Style Guide for Haskell Code

After a quick search with Google, it seems that there is not yet an "official" document for Style Guide for Haskell Code. I was only able to found: http://www.cs.caltech.edu/courses/cs11/material/haskell/misc/haskell_style_g... http://urchin.earth.li/~ian/style/haskell.html http://github.com/tibbe/haskell-style-guide/tree/master and, of course, the GHC style guide. Any plans for a common document? Thanks Manlio Perillo

On Tue, Mar 10, 2009 at 4:34 PM, Manlio Perillo
After a quick search with Google, it seems that there is not yet an "official" document for Style Guide for Haskell Code.
I was only able to found:
http://www.cs.caltech.edu/courses/cs11/material/haskell/misc/haskell_style_g... http://urchin.earth.li/~ian/style/haskell.html http://github.com/tibbe/haskell-style-guide/tree/master
I plan to polish my style guide and add some things I haven't covered in the coming weeks. I believe it for the most part codifies what's common practice in the Haskell community. Cheers, Johan

On Tue, 10 Mar 2009, Manlio Perillo wrote:
After a quick search with Google, it seems that there is not yet an "official" document for Style Guide for Haskell Code.
I was only able to found:
http://www.cs.caltech.edu/courses/cs11/material/haskell/misc/haskell_style_g... http://urchin.earth.li/~ian/style/haskell.html http://github.com/tibbe/haskell-style-guide/tree/master
and, of course, the GHC style guide.
Ah, why does Google not show http://haskell.org/haskellwiki/Category:Style ? Of course, style is a matter of taste. So there are as many good styles as programmers and there won't be an official style guide, I'm afraid.

Henning Thielemann wrote:
Of course, style is a matter of taste. So there are as many good styles as programmers and there won't be an official style guide, I'm afraid.
While that is true, it's no valid reason to not have a style guide. Sun's style guide for Java has been very successful, improving legibility of Java code in general. Noone has to adhere to it, but most people do anyway. Martijn.

On Sat, 14 Mar 2009, Martijn van Steenbergen wrote:
Henning Thielemann wrote:
Of course, style is a matter of taste. So there are as many good styles as programmers and there won't be an official style guide, I'm afraid.
While that is true, it's no valid reason to not have a style guide. Sun's style guide for Java has been very successful, improving legibility of Java code in general. Noone has to adhere to it, but most people do anyway.
I'm glad about everyone who follows the tips I have written in Category:Style, but I can by no way call them "official".
participants (4)
-
Henning Thielemann
-
Johan Tibell
-
Manlio Perillo
-
Martijn van Steenbergen