on master help sign in
Remove the deprecated read/readChunks
21e02eeHarendra Kumar
src/Streamly/Network/Socket.hs−12
@@ -124,9 +124,7 @@ module Streamly.Network.Socket
124 , accept
124 , accept
125 , readChunk
125 , readChunk
126 , writeChunk
126 , writeChunk
127− , read
128 , readWithBufferOf
127 , readWithBufferOf
129− , readChunks
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
160−
161−{-# DEPRECATED read "Please use 'reader' instead" #-}
162−{-# INLINE read #-}
163−read :: MonadIO m => Unfold m Socket Word8
164−read = reader
165−
166−{-# DEPRECATED readChunks "Please use 'chunkReader' instead" #-}
167−{-# INLINE readChunks #-}
168−readChunks :: MonadIO m => Unfold m Socket (Array Word8)
169−readChunks = chunkReader