slyfox 15/05/03 08:59:38 Added: quickcheck-1.2.0.1-ghc-7.10.patch Log: Port to ghc-7.10. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Revision Changes Path 1.1 dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10.patch?rev=1.1&content-type=text/plain Index: quickcheck-1.2.0.1-ghc-7.10.patch =================================================================== 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 +
