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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/efdc59bbfe488d1d1350642421c38810e79467d7

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

commit efdc59bbfe488d1d1350642421c38810e79467d7
Author: Duncan Coutts <[email protected]>
Date:   Thu Sep 20 08:39:32 2012 +0000

    Add compat modules for builder under previous names
    We were not able to get our name changes included in time, so we have to
    be compatible with the 0.10.0.0 release.

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

 Data/ByteString/Lazy/Builder.hs        |   11 +++++++++++
 Data/ByteString/Lazy/Builder/ASCII.hs  |   14 ++++++++++++++
 Data/ByteString/Lazy/Builder/Extras.hs |   11 +++++++++++
 bytestring.cabal                       |    6 ++++++
 4 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/Data/ByteString/Lazy/Builder.hs b/Data/ByteString/Lazy/Builder.hs
new file mode 100644
index 0000000..f46880c
--- /dev/null
+++ b/Data/ByteString/Lazy/Builder.hs
@@ -0,0 +1,11 @@
+
+-- | We decided to rename the Builder modules. Sorry about that.
+--
+-- The old names will hang about for at least once release cycle before we
+-- deprecate them and then later remove them.
+--
+module Data.ByteString.Lazy.Builder (
+  module Data.ByteString.Builder
+) where
+
+import Data.ByteString.Builder
diff --git a/Data/ByteString/Lazy/Builder/ASCII.hs 
b/Data/ByteString/Lazy/Builder/ASCII.hs
new file mode 100644
index 0000000..a27d66c
--- /dev/null
+++ b/Data/ByteString/Lazy/Builder/ASCII.hs
@@ -0,0 +1,14 @@
+
+-- | We decided to rename the Builder modules. Sorry about that.
+--
+-- In additon, the ASCII module has been merged into the main
+-- "Data.ByteString.Builder" module.
+--
+-- The old names will hang about for at least once release cycle before we
+-- deprecate them and then later remove them.
+--
+module Data.ByteString.Lazy.Builder.ASCII (
+  module Data.ByteString.Builder
+) where
+
+import Data.ByteString.Builder
diff --git a/Data/ByteString/Lazy/Builder/Extras.hs 
b/Data/ByteString/Lazy/Builder/Extras.hs
new file mode 100644
index 0000000..1dc027b
--- /dev/null
+++ b/Data/ByteString/Lazy/Builder/Extras.hs
@@ -0,0 +1,11 @@
+
+-- | We decided to rename the Builder modules. Sorry about that.
+--
+-- The old names will hang about for at least once release cycle before we
+-- deprecate them and then later remove them.
+--
+module Data.ByteString.Lazy.Builder.Extras (
+  module Data.ByteString.Builder.Extra
+) where
+
+import Data.ByteString.Builder.Extra
diff --git a/bytestring.cabal b/bytestring.cabal
index 9228639..03a1b40 100644
--- a/bytestring.cabal
+++ b/bytestring.cabal
@@ -78,6 +78,12 @@ library
                      -- perhaps only exposed temporarily
                      Data.ByteString.Builder.Internal
                      Data.ByteString.Builder.Prim.Internal
+
+                     -- sigh, we decided to rename shortly after making
+                     -- an initial release, so these are here for compat
+                     Data.ByteString.Lazy.Builder
+                     Data.ByteString.Lazy.Builder.Extras
+                     Data.ByteString.Lazy.Builder.ASCII
   other-modules:
                      Data.ByteString.Builder.ASCII
                      Data.ByteString.Builder.Prim.Binary



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

Reply via email to