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 <[email protected]>
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



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

Reply via email to