Remove unused writeLazy
This commit is contained in:
parent
0306ea9c21
commit
68ed7beb56
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue