@@ -72,7 +72,7 @@ module Streamly.FileSystem.File
7272 -- , writeUtf8
7373 -- , writeUtf8ByLines
7474 -- , writeByFrames
75− , writeByChunks
75+ , writeInChunksOf
7676
7777 -- -- * Array Write
7878 , writeArray
@@ -287,12 +287,12 @@ writeArrays = writeArraysMode WriteMode
287287-- input elements.
288288--
289289-- @since 0.7.0
290−{-# INLINE writeByChunks #-}
291−writeByChunks :: (MonadAsync m, MonadCatch m)
290+{-# INLINE writeInChunksOf #-}
291+writeInChunksOf :: (MonadAsync m, MonadCatch m)
292292 => Int -> FilePath -> SerialT m Word8 -> m ()
293−writeByChunks n file xs = writeArrays file $ AS.arraysOf n xs
293+writeInChunksOf n file xs = writeArrays file $ AS.arraysOf n xs
294294
295−-- > write = 'writeByChunks' A.defaultChunkSize
295+-- > write = 'writeInChunksOf' A.defaultChunkSize
296296--
297297-- | Write a byte stream to a file. Combines the bytes in chunks of size
298298-- up to 'A.defaultChunkSize' before writing. If the file exists it is
@@ -302,7 +302,7 @@ writeByChunks n file xs = writeArrays file $ AS.arraysOf n xs
302302-- @since 0.7.0
303303{-# INLINE write #-}
304304write :: (MonadAsync m, MonadCatch m) => FilePath -> SerialT m Word8 -> m ()
305−write = writeByChunks A.defaultChunkSize
305+write = writeInChunksOf A.defaultChunkSize
306306
307307{-
308308{-# INLINE write #-}