Remove unused writeLazy

This commit is contained in:
Victor Denisov 2015-08-31 18:04:00 -07:00
parent 0306ea9c21
commit 68ed7beb56

View file

@ -5,7 +5,6 @@
module Database.MongoDB.Internal.Connection ( module Database.MongoDB.Internal.Connection (
Connection(..), Connection(..),
readExactly, readExactly,
writeLazy,
fromHandle, fromHandle,
) where ) where
@ -52,9 +51,6 @@ readExactly conn count = go mempty count
eof = mkIOError eofErrorType "Database.MongoDB.Internal.Connection" eof = mkIOError eofErrorType "Database.MongoDB.Internal.Connection"
Nothing Nothing Nothing Nothing
writeLazy :: Connection -> Lazy.ByteString -> IO ()
writeLazy conn = mapM_ (write conn) . Lazy.ByteString.toChunks
fromHandle :: Handle -> IO Connection fromHandle :: Handle -> IO Connection
-- ^ Make connection form handle -- ^ Make connection form handle
fromHandle handle = do fromHandle handle = do