@@ -1,6 +1,6 @@
11{-# LANGUAGE BangPatterns, MagicHash, Rank2Types #-}
22-- |
3−-- Module : Data.Text.Fusion.Common
3+-- Module : Data.Text.Internal.Fusion.Common
44-- Copyright : (c) Bryan O'Sullivan 2009, 2012
55--
66-- License : BSD-style
@@ -11,7 +11,7 @@
1111--
1212-- Common stream fusion functionality for text.
1313
14−module Data.Text.Fusion.Common
14+module Data.Text.Internal.Fusion.Common
1515 (
1616 -- * Creation and elimination
1717 singleton
@@ -109,10 +109,10 @@ import qualified Prelude as P
109109import Data.Bits (shiftL)
110110import Data.Char (isLetter)
111111import Data.Int (Int64)
112−import Data.Text.Fusion.Internal
113−import Data.Text.Fusion.CaseMapping (foldMapping, lowerMapping, titleMapping,
112+import Data.Text.Internal.Fusion.Types
113+import Data.Text.Internal.Fusion.CaseMapping (foldMapping, lowerMapping, titleMapping,
114114 upperMapping)
115−import Data.Text.Fusion.Size
115+import Data.Text.Internal.Fusion.Size
116116import GHC.Prim (Addr#, chr#, indexCharOffAddr#, ord#)
117117import GHC.Types (Char(..), Int(..))
118118
@@ -938,7 +938,7 @@ countCharI a (Stream next s0 _len) = loop 0 s0
938938{-# INLINE [0] countCharI #-}
939939
940940streamError :: String -> String -> a
941−streamError func msg = P.error $ "Data.Text.Fusion.Common." ++ func ++ ": " ++ msg
941+streamError func msg = P.error $ "Data.Text.Internal.Fusion.Common." ++ func ++ ": " ++ msg
942942
943943emptyError :: String -> a
944944emptyError func = internalError func "Empty input"