[commit: bytestring] ghc-7.6: Fix the Prim.Extra module for the sake of the tests (e59b9d1)
Paolo Capriotti
p.capriotti at gmail.com
Thu Sep 6 12:29:29 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/bytestring
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/e59b9d1940a9c82ecc203005899d54cc0c72ed61
>---------------------------------------------------------------
commit e59b9d1940a9c82ecc203005899d54cc0c72ed61
Author: Duncan Coutts <duncan at community.haskell.org>
Date: Thu Sep 6 00:40:20 2012 +0000
Fix the Prim.Extra module for the sake of the tests
It's not currentl built as part of the lib.
>---------------------------------------------------------------
Data/ByteString/Builder/Prim/Extra.hs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Data/ByteString/Builder/Prim/Extra.hs b/Data/ByteString/Builder/Prim/Extra.hs
index 4af1483..d21d5fc 100644
--- a/Data/ByteString/Builder/Prim/Extra.hs
+++ b/Data/ByteString/Builder/Prim/Extra.hs
@@ -627,9 +627,9 @@ putChunked minFree0 mkBeforeFE afterBE p =
where
nU = fromIntegral n
chunkB =
- encodeWithF (mkBeforeFE nU) nU `mappend`
+ primFixed (mkBeforeFE nU) nU `mappend`
lazyByteStringC n lbsC `mappend`
- encodeWithB afterBE nU
+ primBounded afterBE nU
-- | /Heavy inlining./ Prefix a 'Builder' with the size of the
More information about the Cvs-libraries
mailing list