@@ -111,18 +111,18 @@ import Prelude hiding (read)
111111
112112import Streamly.Prelude (MonadAsync)
113113import Streamly.Data.Fold (Fold)
114−import Streamly.Internal.Data.Fold.Types (Fold2(..))
115−import Streamly.Internal.Data.Unfold.Types (Unfold(..))
116−import Streamly.Internal.Data.Array.Foreign.Types
114+import Streamly.Internal.Data.Fold.Type (Fold2(..))
115+import Streamly.Internal.Data.Unfold.Type (Unfold(..))
116+import Streamly.Internal.Data.Array.Foreign.Type
117117 (Array(..), writeNUnsafe, defaultChunkSize , unsafeFreezeWithShrink)
118−import Streamly.Internal.Data.Array.Foreign.Mut.Types (mutableArray)
118+import Streamly.Internal.Data.Array.Foreign.Mut.Type (mutableArray)
119119import Streamly.Internal.Data.Stream.Serial (SerialT)
120120import Streamly.Internal.Data.Stream.StreamK.Type (IsStream, mkStream)
121121import Streamly.Internal.Data.Array.Stream.Foreign (lpackArraysChunksOf)
122122-- import Streamly.String (encodeUtf8, decodeUtf8, foldLines)
123123
124124import qualified Streamly.Data.Fold as FL
125−import qualified Streamly.Internal.Data.Fold.Types as FL
125+import qualified Streamly.Internal.Data.Fold.Type as FL
126126import qualified Streamly.Internal.Data.Unfold as UF
127127import qualified Streamly.Internal.Data.Array.Foreign as IA
128128import qualified Streamly.Internal.Data.Array.Stream.Foreign as AS
@@ -255,9 +255,9 @@ getBytes = toBytes stdin
255255
256256-- | Unfolds a handle into a stream of 'Word8' arrays. Requests to the IO
257257-- device are performed using a buffer of size
258−-- 'Streamly.Internal.Data.Array.Foreign.Types.defaultChunkSize'. The
258+-- 'Streamly.Internal.Data.Array.Foreign.Type.defaultChunkSize'. The
259259-- size of arrays in the resulting stream are therefore less than or equal to
260−-- 'Streamly.Internal.Data.Array.Foreign.Types.defaultChunkSize'.
260+-- 'Streamly.Internal.Data.Array.Foreign.Type.defaultChunkSize'.
261261--
262262-- @since 0.7.0
263263{-# INLINE readChunks #-}
@@ -294,7 +294,7 @@ toBytesWithBufferOf chunkSize h = AS.concat $ toChunksWithBufferOf chunkSize h
294294--
295295-- | Unfolds a file handle into a byte stream. IO requests to the device are
296296-- performed in sizes of
297−-- 'Streamly.Internal.Data.Array.Foreign.Types.defaultChunkSize'.
297+-- 'Streamly.Internal.Data.Array.Foreign.Type.defaultChunkSize'.
298298--
299299-- @since 0.7.0
300300{-# INLINE read #-}
@@ -411,7 +411,7 @@ fromBytesWithBufferOf n h m = fromChunks h $ S.arraysOf n m
411411-- > write = 'writeWithBufferOf' A.defaultChunkSize
412412--
413413-- | Write a byte stream to a file handle. Accumulates the input in chunks of
414−-- up to 'Streamly.Internal.Data.Array.Foreign.Types.defaultChunkSize' before writing.
414+-- up to 'Streamly.Internal.Data.Array.Foreign.Type.defaultChunkSize' before writing.
415415--
416416-- NOTE: This may perform better than the 'write' fold, you can try this if you
417417-- need some extra perf boost.
@@ -469,7 +469,7 @@ writeWithBufferOf2 n = FL.chunksOf2 n (writeNUnsafe n) writeChunks2
469469-- > write = 'writeWithBufferOf' A.defaultChunkSize
470470--
471471-- | Write a byte stream to a file handle. Accumulates the input in chunks of
472−-- up to 'Streamly.Internal.Data.Array.Foreign.Types.defaultChunkSize' before writing
472+-- up to 'Streamly.Internal.Data.Array.Foreign.Type.defaultChunkSize' before writing
473473-- to the IO device.
474474--
475475-- @since 0.7.0