[commit: bytestring] master: Also export foldrChunks and foldlChunks (86e6a75)

Ian Lynagh igloo at earth.li
Wed Feb 22 21:58:05 CET 2012


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/86e6a75892afc22ef8e37d9badf20d6ea1b36295

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

commit 86e6a75892afc22ef8e37d9badf20d6ea1b36295
Author: Duncan Coutts <duncan at community.haskell.org>
Date:   Mon Nov 7 12:43:58 2011 +0000

    Also export foldrChunks and foldlChunks
    Along with fromStrict and toStrict we now match the Text API in this area.

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

 Data/ByteString/Lazy.hs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Data/ByteString/Lazy.hs b/Data/ByteString/Lazy.hs
index 9adc1fb..1f3d5cc 100644
--- a/Data/ByteString/Lazy.hs
+++ b/Data/ByteString/Lazy.hs
@@ -60,6 +60,8 @@ module Data.ByteString.Lazy (
         toStrict,               -- :: ByteString -> Strict.ByteString
         fromChunks,             -- :: [Strict.ByteString] -> ByteString
         toChunks,               -- :: ByteString -> [Strict.ByteString]
+        foldrChunks,            -- :: (S.ByteString -> a -> a) -> a -> ByteString -> a
+        foldlChunks,            -- :: (a -> S.ByteString -> a) -> a -> ByteString -> a
 
         -- * Basic interface
         cons,                   -- :: Word8 -> ByteString -> ByteString





More information about the Cvs-libraries mailing list