QuickCheck support in libraries

Ian Lynagh igloo at earth.li
Sat Oct 27 08:08:32 EDT 2007

On Sat, Oct 27, 2007 at 11:15:19AM +0000, Duncan Coutts wrote:
> For example QuickCheck is not required to build ghc, but if we included
> the Arbitrary instances for ByteString in the bytestring package then
> ghc would depend on QuickCheck.
> Perhaps one solution is to use configurations, so people can build a
> package with or without the QuickCheck dependency.

What would a dependency on bytestring 0.9 mean then? How would I
indicate that I need the Arbitrary instance?

Someone could make a ghc-bootlib-arbitrary package, containing all the
Arbitrary instances for types in the bootlibs.


More information about the Libraries mailing list