[commit: bytestring] ghc-7.6: Export hGetSome from Data.ByteString.Char8 (8ba4817)
Paolo Capriotti
p.capriotti at gmail.com
Thu Sep 6 12:28:49 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/bytestring
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/8ba4817d0fe69c6fbd1822e1f2bdf8a01d6d932a
>---------------------------------------------------------------
commit 8ba4817d0fe69c6fbd1822e1f2bdf8a01d6d932a
Author: Duncan Coutts <duncan at community.haskell.org>
Date: Tue Sep 4 23:58:31 2012 +0000
Export hGetSome from Data.ByteString.Char8
>---------------------------------------------------------------
Data/ByteString/Char8.hs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Data/ByteString/Char8.hs b/Data/ByteString/Char8.hs
index 1a60fdb..bc0589e 100644
--- a/Data/ByteString/Char8.hs
+++ b/Data/ByteString/Char8.hs
@@ -211,6 +211,7 @@ module Data.ByteString.Char8 (
hGetLine, -- :: Handle -> IO ByteString
hGetContents, -- :: Handle -> IO ByteString
hGet, -- :: Handle -> Int -> IO ByteString
+ hGetSome, -- :: Handle -> Int -> IO ByteString
hGetNonBlocking, -- :: Handle -> Int -> IO ByteString
hPut, -- :: Handle -> ByteString -> IO ()
hPutNonBlocking, -- :: Handle -> ByteString -> IO ByteString
@@ -243,7 +244,7 @@ import Data.ByteString (empty,null,length,tail,init,append
,findSubstring,findSubstrings,breakSubstring,copy,group
,getLine, getContents, putStr, interact
- ,hGetContents, hGet, hPut, hPutStr
+ ,hGetContents, hGet, hGetSome, hPut, hPutStr
,hGetLine, hGetNonBlocking, hPutNonBlocking
,packCString,packCStringLen
,useAsCString,useAsCStringLen
More information about the Cvs-libraries
mailing list