@@ -434,7 +434,7 @@ readWith chunkSize h = A.flattenArrays $ readChunksUpto chunkSize h
434434--
435435-- @since 0.7.0
436436{-# INLINE toBytes #-}
437−toBytes :: (MonadIO m) => Socket -> Stream m Word8
437+toBytes :: MonadIO m => Socket -> Stream m Word8
438438toBytes = AS.concat . toChunks
439439
440440-- | Unfolds the tuple @(bufsize, socket)@ into a byte stream, read requests
@@ -590,7 +590,7 @@ write = toHandleWith defaultChunkSize
590590--
591591-- @since 0.7.0
592592{-# INLINE readUtf8 #-}
593−readUtf8 :: (MonadIO m) => Handle -> Stream m Char
593+readUtf8 :: MonadIO m => Handle -> Stream m Char
594594readUtf8 = decodeUtf8 . read
595595
596596-- |
@@ -612,7 +612,7 @@ writeUtf8 h s = write h $ encodeUtf8 s
612612--
613613-- @since 0.7.0
614614{-# INLINE writeUtf8ByLines #-}
615−writeUtf8ByLines :: (MonadIO m) => Handle -> Stream m Char -> m ()
615+writeUtf8ByLines :: MonadIO m => Handle -> Stream m Char -> m ()
616616writeUtf8ByLines = undefined
617617
618618-- | Read UTF-8 lines from a file handle and apply the specified fold to each
@@ -620,7 +620,7 @@ writeUtf8ByLines = undefined
620620--
621621-- @since 0.7.0
622622{-# INLINE readLines #-}
623−readLines :: (MonadIO m) => Handle -> Fold m Char b -> Stream m b
623+readLines :: MonadIO m => Handle -> Fold m Char b -> Stream m b
624624readLines h f = foldLines (readUtf8 h) f
625625
626626-------------------------------------------------------------------------------