@@ -1,6 +1,6 @@
1{-# LANGUAGE BangPatterns, MagicHash, Rank2Types #-}
1{-# LANGUAGE BangPatterns, MagicHash, Rank2Types #-}
3−-- Module : Data.Text.Fusion.Common
3+-- Module : Data.Text.Internal.Fusion.Common
4-- Copyright : (c) Bryan O'Sullivan 2009, 2012
4-- Copyright : (c) Bryan O'Sullivan 2009, 2012
6-- License : BSD-style
6-- License : BSD-style
@@ -11,7 +11,7 @@
12-- Common stream fusion functionality for text.
12-- Common stream fusion functionality for text.
14−module Data.Text.Fusion.Common
14+module Data.Text.Internal.Fusion.Common
16 -- * Creation and elimination
16 -- * Creation and elimination
@@ -109,10 +109,10 @@ import qualified Prelude as P
109import Data.Bits (shiftL)
109import Data.Bits (shiftL)
110import Data.Char (isLetter)
110import Data.Char (isLetter)
111import Data.Int (Int64)
111import Data.Int (Int64)
112−import Data.Text.Fusion.Internal
112+import Data.Text.Internal.Fusion.Types
113−import Data.Text.Fusion.CaseMapping (foldMapping, lowerMapping, titleMapping,
113+import Data.Text.Internal.Fusion.CaseMapping (foldMapping, lowerMapping, titleMapping,
114 upperMapping)
114 upperMapping)
115−import Data.Text.Fusion.Size
115+import Data.Text.Internal.Fusion.Size
116import GHC.Prim (Addr#, chr#, indexCharOffAddr#, ord#)
116import GHC.Prim (Addr#, chr#, indexCharOffAddr#, ord#)
117import GHC.Types (Char(..), Int(..))
117import GHC.Types (Char(..), Int(..))
@@ -938,7 +938,7 @@ countCharI a (Stream next s0 _len) = loop 0 s0
938{-# INLINE [0] countCharI #-}
938{-# INLINE [0] countCharI #-}
940streamError :: String -> String -> a
940streamError :: 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
943emptyError :: String -> a
943emptyError :: String -> a
944emptyError func = internalError func "Empty input"
944emptyError func = internalError func "Empty input"