Re: [Haskell-cafe] Style Guide for Haskell Code

2009-03-14 Thread Martijn van Steenbergen

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.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Style Guide for Haskell Code

2009-03-14 Thread Henning Thielemann


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.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Style Guide for Haskell Code

2009-03-13 Thread Henning Thielemann


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_guide.html
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.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Style Guide for Haskell Code

2009-03-10 Thread 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_guide.html
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

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Style Guide for Haskell Code

2009-03-10 Thread Johan Tibell
On Tue, Mar 10, 2009 at 4:34 PM, Manlio Perillo
manlio_peri...@libero.it 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_guide.html
 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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe