[commit: packages/bytestring] master: Add missing operator import (fixes #72) (9156ae5)

git at git.haskell.org git at git.haskell.org
Sun May 15 21:16:49 UTC 2016


Repository : ssh://git@git.haskell.org/bytestring

On branch  : master
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/9156ae522936bda7f7ceaa1141ee13f95fa77945

>---------------------------------------------------------------

commit 9156ae522936bda7f7ceaa1141ee13f95fa77945
Author: Michael Snoyman <michael at snoyman.com>
Date:   Wed May 4 07:34:25 2016 +0300

    Add missing operator import (fixes #72)


>---------------------------------------------------------------

9156ae522936bda7f7ceaa1141ee13f95fa77945
 Data/ByteString/Lazy.hs | 1 +
 tests/Properties.hs     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Data/ByteString/Lazy.hs b/Data/ByteString/Lazy.hs
index 77e1520..01d4c1c 100644
--- a/Data/ByteString/Lazy.hs
+++ b/Data/ByteString/Lazy.hs
@@ -225,6 +225,7 @@ import qualified Data.ByteString.Unsafe as S
 import Data.ByteString.Lazy.Internal
 
 #if !(MIN_VERSION_base(4,8,0))
+import Control.Applicative      ((<$>))
 import Data.Monoid              (Monoid(..))
 #endif
 import Control.Monad            (mplus)
diff --git a/tests/Properties.hs b/tests/Properties.hs
index 60e3a49..d5ed575 100644
--- a/tests/Properties.hs
+++ b/tests/Properties.hs
@@ -14,6 +14,7 @@ import Foreign.Marshal.Alloc
 import Foreign.Marshal.Array
 import GHC.Ptr
 import Test.QuickCheck
+import Control.Applicative
 import Control.Monad
 import Control.Concurrent
 import Control.Exception



More information about the ghc-commits mailing list