@@ -124,9 +124,7 @@ module Streamly.Network.Socket
125 , readChunk
125 , readChunk
126 , writeChunk
126 , writeChunk
128 , readWithBufferOf
127 , readWithBufferOf
130 , readChunksWithBufferOf
128 , readChunksWithBufferOf
131 , writeWithBufferOf
129 , writeWithBufferOf
132 , writeChunksWithBufferOf
130 , writeChunksWithBufferOf
@@ -157,13 +155,3 @@ readChunk = getChunk
157{-# INLINABLE writeChunk #-}
155{-# INLINABLE writeChunk #-}
158writeChunk :: Unbox a => Socket -> Array a -> IO ()
156writeChunk :: Unbox a => Socket -> Array a -> IO ()
159writeChunk = putChunk
157writeChunk = putChunk
161−{-# DEPRECATED read "Please use 'reader' instead" #-}
163−read :: MonadIO m => Unfold m Socket Word8
166−{-# DEPRECATED readChunks "Please use 'chunkReader' instead" #-}
167−{-# INLINE readChunks #-}
168−readChunks :: MonadIO m => Unfold m Socket (Array Word8)
169−readChunks = chunkReader