From 68ed7beb569ca5c67529cfe87aa264a4c44ce7ec Mon Sep 17 00:00:00 2001 From: Victor Denisov Date: Mon, 31 Aug 2015 18:04:00 -0700 Subject: [PATCH] Remove unused writeLazy --- Database/MongoDB/Internal/Connection.hs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Database/MongoDB/Internal/Connection.hs b/Database/MongoDB/Internal/Connection.hs index ddb23f8..d921941 100644 --- a/Database/MongoDB/Internal/Connection.hs +++ b/Database/MongoDB/Internal/Connection.hs @@ -5,7 +5,6 @@ module Database.MongoDB.Internal.Connection ( Connection(..), readExactly, - writeLazy, fromHandle, ) where @@ -52,9 +51,6 @@ readExactly conn count = go mempty count eof = mkIOError eofErrorType "Database.MongoDB.Internal.Connection" Nothing Nothing -writeLazy :: Connection -> Lazy.ByteString -> IO () -writeLazy conn = mapM_ (write conn) . Lazy.ByteString.toChunks - fromHandle :: Handle -> IO Connection -- ^ Make connection form handle fromHandle handle = do