We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1373ce3 commit e1e11f2Copy full SHA for e1e11f2
src/Data/Text/Internal/Encoding/Utf8.hs
@@ -48,7 +48,7 @@ module Data.Text.Internal.Encoding.Utf8
48
import Control.Exception (assert)
49
import GHC.Stack (HasCallStack)
50
#endif
51
-import Data.Bits (Bits(..), FiniteBits(..))
+import Data.Bits (Bits(..))
52
import Data.Char (ord, chr)
53
import GHC.Exts
54
import GHC.Word (Word8(..))
src/Data/Text/Internal/Transformation.hs
@@ -36,9 +36,9 @@ import Prelude (Char, Bool(..), Int,
36
Ord(..),
37
Monad(..), pure,
38
(+), (-), ($), (&&), (||), (==),
39
- not, return, otherwise, fromIntegral, (/=), const)
+ not, return, otherwise)
40
import Data.Bits ((.&.), shiftR, shiftL)
41
-import Data.Char (isLetter, isSpace, ord)
+import Data.Char (isLetter, isSpace)
42
import Control.Monad.ST (ST, runST)
43
import qualified Data.Text.Array as A
44
import Data.Text.Internal.Encoding.Utf8 (utf8LengthByLeader, chr2, chr3, chr4)
@@ -47,7 +47,7 @@ import Data.Text.Internal (Text(..), safe)
47
import Data.Text.Internal.Unsafe.Char (unsafeWrite, unsafeChr8)
import qualified Prelude as P
import Data.Text.Unsafe (Iter(..), iterArray)
-import Data.Word (Word8, Word)
+import Data.Word (Word8)
import qualified GHC.Exts as Exts
import GHC.Int (Int64(..))
0 commit comments