From c79c215f08d1c0e5a99d6583754fd723bf7b9a6a Mon Sep 17 00:00:00 2001 From: gwern0 Date: Thu, 6 May 2010 18:05:35 +0200 Subject: Developing: be good to mention hlint in a hacking guide Ignore-this: d86ab58539dd6c09a43789b9a549aa9d darcs-hash:20100506160535-f7719-082e5201bc6b70a85228fb8f7749f7e1c2100ff7.gz --- XMonad/Doc/Developing.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'XMonad/Doc/Developing.hs') diff --git a/XMonad/Doc/Developing.hs b/XMonad/Doc/Developing.hs index 714b930..3436db8 100644 --- a/XMonad/Doc/Developing.hs +++ b/XMonad/Doc/Developing.hs @@ -256,6 +256,9 @@ xmonad contributed extensions. * Code should be compilable with "ghc-options: -Wall -Werror" set in the xmonad-contrib.cabal file. There should be no warnings. +* Code should be free of any warnings or errors from the Hlint tool; use your + best judgement on some warnings like eta-reduction or bracket removal, though. + * Partial functions should be avoided: the window manager should not crash, so never call 'error' or 'undefined'. -- cgit v1.2.3