diff options
author | Don Stewart <dons@galois.com> | 2007-10-24 00:14:22 +0200 |
---|---|---|
committer | Don Stewart <dons@galois.com> | 2007-10-24 00:14:22 +0200 |
commit | fc10a7ef91149f8074b6084a669c6ffea49e3e16 (patch) | |
tree | 18370df19756946c76f09432a50b7caa095ca88a /STYLE | |
parent | 11b3d48e461d272c7bb85204df5bd9296b1d6b43 (diff) | |
download | xmonad-fc10a7ef91149f8074b6084a669c6ffea49e3e16.tar.gz xmonad-fc10a7ef91149f8074b6084a669c6ffea49e3e16.tar.xz xmonad-fc10a7ef91149f8074b6084a669c6ffea49e3e16.zip |
start on style guide
darcs-hash:20071023221422-cba2c-c25fffc1e028f8fea59004e20a24f3ed97029895.gz
Diffstat (limited to 'STYLE')
-rw-r--r-- | STYLE | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ + +== Coding guidelines for contributing to +== xmonad and the xmonad contributed extensions + +* Comment every top level function, and provide a type signature, using + haddock syntax. + +* Follow the coding style of already existing modules + +* Code should be compiled with -Wall and emit no errors + +* Partial functions should be avoided: the window manager should not + crash, so do not call `error` or `undefined` + +* Tabs are illegal. Use 4 spaces for indenting + +* Any pure function added to the core should have a QuickCheck property + defining its behaviour + +* New modules should identify the author, and have are submitted under + the xmonad BSD3 license. |