Skip to content

Commit 528ba6e

Browse files
committed
Fix up
1 parent 26fcc2f commit 528ba6e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

core/src/Streamly/Internal/Unicode/Stream.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ encodeLatin1Lax = encodeLatin1
199199
-- extract the significant bits from each byte of the sequence and combine them
200200
-- to form the complete code point value. The specific bit manipulations will
201201
-- differ based on the number of bytes used.
202-
-- Int helps in cheaper conversion from Int to Char.
203202
type CodePoint = Int
204203

205204
-- | DecodeState refers to the number of bytes remaining to complete the current
@@ -429,15 +428,15 @@ decodeUtf8EitherD :: Monad m
429428
decodeUtf8EitherD = resumeDecodeUtf8EitherD 0 0
430429

431430
-- |
432-
--
431+
-- Initial DecodeState and CodePoint is 0.
433432
-- /Pre-release/
434433
{-# INLINE decodeUtf8Either #-}
435434
decodeUtf8Either :: Monad m
436435
=> Stream m Word8 -> Stream m (Either DecodeError Char)
437436
decodeUtf8Either = decodeUtf8EitherD
438437

439438
-- |
440-
--
439+
-- Initial DecodeState and CodePoint is 0.
441440
-- /Pre-release/
442441
{-# INLINE resumeDecodeUtf8Either #-}
443442
resumeDecodeUtf8Either

core/src/Streamly/Unicode/Stream.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ module Streamly.Unicode.Stream
8484
, decodeUtf8
8585
, decodeUtf8'
8686
, decodeUtf8Chunks
87-
, decodeUtf8Either
8887
, resumeDecodeUtf8Either
8988

9089
-- * Elimination (Encoding)

0 commit comments

Comments
 (0)