Repository : ssh://darcs.haskell.org//srv/darcs/packages/bytestring

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/2ccd7181bb57b054a3a087fd3116b33af9f135bc

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

commit 2ccd7181bb57b054a3a087fd3116b33af9f135bc
Author: Duncan Coutts <[email protected]>
Date:   Sun Nov 6 19:41:17 2011 +0000

    Add BangPatterns extension

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

 Data/ByteString/Internal.hs      |    2 +-
 Data/ByteString/Lazy/Internal.hs |    2 +-
 bytestring.cabal                 |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Data/ByteString/Internal.hs b/Data/ByteString/Internal.hs
index 5bcc01a..bc91146 100644
--- a/Data/ByteString/Internal.hs
+++ b/Data/ByteString/Internal.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, ForeignFunctionInterface #-}
+{-# LANGUAGE CPP, ForeignFunctionInterface, BangPatterns #-}
 -- We cannot actually specify all the language pragmas, see ghc ticket #
 -- If we could, these are what they would be:
 {- LANGUAGE UnliftedFFITypes, MagicHash,
diff --git a/Data/ByteString/Lazy/Internal.hs b/Data/ByteString/Lazy/Internal.hs
index 3967ad7..c3816fb 100644
--- a/Data/ByteString/Lazy/Internal.hs
+++ b/Data/ByteString/Lazy/Internal.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, ForeignFunctionInterface #-}
+{-# LANGUAGE CPP, ForeignFunctionInterface, BangPatterns #-}
 -- We cannot actually specify all the language pragmas, see ghc ticket #
 -- If we could, these are what they would be:
 {- LANGUAGE DeriveDataTypeable -}
diff --git a/bytestring.cabal b/bytestring.cabal
index 365b6bc..7fe9164 100644
--- a/bytestring.cabal
+++ b/bytestring.cabal
@@ -89,6 +89,7 @@ test-suite prop-compiled
     ghc-options:    -fno-enable-rewrite-rules
   else
     ghc-options:    -fno-rewrite-rules
+  extensions:       BangPatterns
   if impl(ghc)
       extensions:   UnliftedFFITypes,
                     MagicHash,



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to