Repository : ssh://darcs.haskell.org//srv/darcs/packages/random On branch : master
http://hackage.haskell.org/trac/ghc/changeset/b950a0f1a0d72dbc95752549f38ad5eedd54589a >--------------------------------------------------------------- commit b950a0f1a0d72dbc95752549f38ad5eedd54589a Author: Ian Lynagh <[email protected]> Date: Wed Oct 12 18:02:26 2011 +0100 Fix test following removal of Num's superclasses >--------------------------------------------------------------- tests/rangeTest.hs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/rangeTest.hs b/tests/rangeTest.hs index 704a36c..6732345 100644 --- a/tests/rangeTest.hs +++ b/tests/rangeTest.hs @@ -27,7 +27,7 @@ approxBounds nxt iters unused (explo,exphi) initrng = -- (2) we get "close" to the bounds -- The with (2) is that we do enough trials to ensure that we can at -- least hit the 90% mark. -checkBounds:: (Real a, Ord a) => +checkBounds:: (Real a, Show a, Ord a) => String -> (Bool, a, a) -> ((a,a) -> StdGen -> ((a, a, t), StdGen)) -> IO () checkBounds msg (exclusive,lo,hi) fun = -- (lo,hi) is [inclusive,exclusive) _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
