Good Haskell Style

Christian Maeder Christian.Maeder at dfki.de
Wed Aug 1 12:07:56 EDT 2007


Ian Lynagh wrote:
> 
> * Don't leave trailing white space in your code
> * Don't use tabs
> * Aim to keep lines under 80 characters
> * Use the CamelCase variable naming convention
> * Don't use explicit braces and semicolons

May I add:

* put a final newline in your file

http://haskell.org/haskellwiki/Programming_guidelines#File_Format

Cheers Christian


More information about the Libraries mailing list