You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10...

14 lines
468 B

diff --git a/Test/QuickCheck.hs b/Test/QuickCheck.hs
index 1f8b3b9..27138ab 100644
--- a/Test/QuickCheck.hs
+++ b/Test/QuickCheck.hs
@@ -75 +75,2 @@ import Data.List( group, sort, intersperse )
-import Control.Monad( liftM2, liftM3, liftM4 )
+import Control.Applicative
+import Control.Monad( liftM2, liftM3, liftM4, ap )
@@ -115,0 +117,4 @@ instance Functor Gen where
+instance Applicative Gen where
+ pure = return
+ (<*>) = ap -- defined in Control.Monad
+