[Haskell-cafe] Lines of code metrics

Henning Thielemann lemming at henning-thielemann.de
Sun Aug 24 03:55:14 EDT 2008

On Thu, 21 Aug 2008, Johannes Waldmann wrote:

> NB: My private set of Haskell metrics:
> * lines of code (per declaration) (should be <= 5)
> * number of declarations (per module) (should be <= 5 as well :-)
> * number of usages of Int, String, List, IO (should be <= 0 :-) :-)

* number of usages of unsafePerformIO, unsafeInterleaveIO, use of Ptr or 
IO at all

These would be nice metrics for me to decide, whether I want to download a 
package from Hackage.

More information about the Haskell-Cafe mailing list