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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/5fbaff2da0f0fdd2e2d03c1c155dade01afa1aa3

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

commit 5fbaff2da0f0fdd2e2d03c1c155dade01afa1aa3
Author: Duncan Coutts <[email protected]>
Date:   Mon Nov 7 12:40:46 2011 +0000

    Fix documentation of complexity of toChunks

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

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

diff --git a/Data/ByteString/Lazy.hs b/Data/ByteString/Lazy.hs
index df41431..30fc5b9 100644
--- a/Data/ByteString/Lazy.hs
+++ b/Data/ByteString/Lazy.hs
@@ -267,7 +267,7 @@ unpack = unpackBytes
 fromChunks :: [P.ByteString] -> ByteString
 fromChunks cs = L.foldr chunk Empty cs
 
--- | /O(n)/ Convert a lazy 'ByteString' into a list of strict 'ByteString'
+-- | /O(c)/ Convert a lazy 'ByteString' into a list of strict 'ByteString'
 toChunks :: ByteString -> [P.ByteString]
 toChunks cs = foldrChunks (:) [] cs
 



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

Reply via email to