
On Sunday 10. January 2010 20.44.38 David Frey wrote:
I am hoping that some people from this list could review my code. I'm not very concerned with correctness. I'm more interested in how my code can be clarified through use of existing functions or standard Haskell idioms.
A great start is – in my experience – is to use hlint on a program. Running hlint v1.6.14 on the code finds 26 suggestions of which 3 are classified as errors. While you don't necessarily want to follow every suggestion it comes up with, it is still a great way to find code that can be improved. If you have cabal-install, you can install hlint by running “cabal install hlint” and then run “hlint *.hs”. -- Erlend Hamberg “Everything will be ok in the end. If its not ok, its not the end.” GPG/PGP: 0xAD3BCF19 45C3 E2E7 86CA ADB7 8DAD 51E7 3A1A F085 AD3B CF19