[commit: packages/bytestring] ghc-head: Fix export of module Data.ByteString.Builder.ASCII (b53e34a)
git at git.haskell.org
git at git.haskell.org
Thu Aug 29 10:19:18 CEST 2013
Repository : ssh://git@git.haskell.org/bytestring
On branch : ghc-head
Link : http://git.haskell.org/?p=packages/bytestring.git;a=commit;h=b53e34a9968539f2e6426548af2cd2a319d5b48a
>---------------------------------------------------------------
commit b53e34a9968539f2e6426548af2cd2a319d5b48a
Author: Leon P Smith <leon at melding-monads.com>
Date: Fri Mar 8 06:01:52 2013 -0500
Fix export of module Data.ByteString.Builder.ASCII
Without this fix, things such as word32Hex appear in the Haddocks but
aren't actually exported from Data.ByteString.Builder, or indeed
available outside the package at all.
>---------------------------------------------------------------
b53e34a9968539f2e6426548af2cd2a319d5b48a
Data/ByteString/Builder.hs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Data/ByteString/Builder.hs b/Data/ByteString/Builder.hs
index 87650a4..dc7e6f2 100644
--- a/Data/ByteString/Builder.hs
+++ b/Data/ByteString/Builder.hs
@@ -54,7 +54,6 @@ We use the following imports and abbreviate 'mappend' to simplify reading.
@
import qualified "Data.ByteString.Lazy" as L
import "Data.ByteString.Builder"
-import "Data.ByteString.Builder.ASCII" ('intDec')
import Data.Monoid
import Data.Foldable ('foldMap')
import Data.List ('intersperse')
@@ -262,13 +261,13 @@ module Data.ByteString.Builder
import Data.ByteString.Builder.Internal
import qualified Data.ByteString.Builder.Prim as P
import qualified Data.ByteString.Lazy.Internal as L
+import Data.ByteString.Builder.ASCII
import Data.String (IsString(..))
import System.IO (Handle)
import Foreign
-- HADDOCK only imports
-import Data.ByteString.Builder.ASCII (intDec)
import qualified Data.ByteString as S (concat)
import Data.Monoid
import Data.Foldable (foldMap)
More information about the ghc-commits
mailing list