on master help sign in
Remove the deprecated read/readChunks
commit21e02eeb01fab8931b3f5837c00d4e46eff5e1c2 authorHarendra Kumar <harendra@composewell.com> dateSun 26 Nov 2023, 02:57 (3 years ago) parentd4db31c
1 file changed−12
src/Streamly/Network/Socket.hs−12
src/Streamly/Network/Socket.hs−12
@@ -124,9 +124,7 @@ module Streamly.Network.Socket
124124 , accept
125125 , readChunk
126126 , writeChunk
127− , read
128127 , readWithBufferOf
129− , readChunks
130128 , readChunksWithBufferOf
131129 , writeWithBufferOf
132130 , writeChunksWithBufferOf
@@ -157,13 +155,3 @@ readChunk = getChunk
157155{-# INLINABLE writeChunk #-}
158156writeChunk :: Unbox a => Socket -> Array a -> IO ()
159157writeChunk = 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