[Haskell-cafe] Building "production stable" software in Haskell
bf3 at telenet.be
Wed Sep 12 07:25:18 EDT 2007
Thanks for all the info.
It's really good news that code coverage is now part of the GHC compiler!
Any more info on that "deep seq"? I can't find it in the libraries that come
with GHC 6.6.1. It seems to be part of Control.Strategies.DeepSeq of HXT.
This is a separate download?
Intuitively, I would say "deep seq" forces strict evaluation of the complete
"graph" of its first argument? Is this correct?
From: Don Stewart [mailto:dons at galois.com]
Sent: Tuesday, September 11, 2007 10:11 PM
To: Peter Verswyvelen
Cc: Neil Mitchell; Haskell-Cafe
Subject: Re: [Haskell-cafe] Building "production stable" software in Haskell
> Well, I actually meant more something like the imperative equivalences
> of "code coverage tools" and "unit testing tools", because I've read
> rumors that in Haskell, unit testing is more difficult because lazy
> evaluation will cause the "units" that got tested to be evaluated
We have full control over evaluation though, with bang patterns, seq and
Generally unit testing is generalised to property testing with QuickCheck,
For code coverage, combined with testing, use HPC, the program coverage tool
now in GHC head.
More information about the Haskell-Cafe