on master help sign in
Rename Data.Text.IO.Internal to Data.Text.Internal.IO
50b2857Bryan O'Sullivan
Data/Text/IO.hs+1−1
@@ -52,7 +52,7 @@ import Data.IORef (readIORef, writeIORef)
52import qualified Data.Text as T
52import qualified Data.Text as T
53import Data.Text.Internal.Fusion (stream)
53import Data.Text.Internal.Fusion (stream)
54import Data.Text.Internal.Fusion.Types (Step(..), Stream(..))
54import Data.Text.Internal.Fusion.Types (Step(..), Stream(..))
55−import Data.Text.IO.Internal (hGetLineWith, readChunk)
55+import Data.Text.Internal.IO (hGetLineWith, readChunk)
56import GHC.IO.Buffer (Buffer(..), BufferState(..), CharBufElem, CharBuffer,
56import GHC.IO.Buffer (Buffer(..), BufferState(..), CharBufElem, CharBuffer,
57 RawCharBuffer, emptyBuffer, isEmptyBuffer, newCharBuffer,
57 RawCharBuffer, emptyBuffer, isEmptyBuffer, newCharBuffer,
58 writeCharBuf)
58 writeCharBuf)
Data/Text/IO/Internal.hs → Data/Text/Internal/IO.hsrenamed+2−2
@@ -1,6 +1,6 @@
1{-# LANGUAGE BangPatterns, CPP, RecordWildCards #-}
1{-# LANGUAGE BangPatterns, CPP, RecordWildCards #-}
2-- |
2-- |
3−-- Module : Data.Text.IO.Internal
3+-- Module : Data.Text.Internal.IO
4-- Copyright : (c) 2009, 2010 Bryan O'Sullivan,
4-- Copyright : (c) 2009, 2010 Bryan O'Sullivan,
5-- (c) 2009 Simon Marlow
5-- (c) 2009 Simon Marlow
6-- License : BSD-style
6-- License : BSD-style
@@ -10,7 +10,7 @@
10--
10--
11-- Low-level support for text I\/O.
11-- Low-level support for text I\/O.
12
12
13−module Data.Text.IO.Internal
13+module Data.Text.Internal.IO
14 (
14 (
15 hGetLineWith
15 hGetLineWith
16 , readChunk
16 , readChunk
Data/Text/Lazy/IO.hs+1−1
@@ -50,7 +50,7 @@ import qualified Data.Text.Lazy as L
50import qualified Control.Exception as E
50import qualified Control.Exception as E
51import Control.Monad (when)
51import Control.Monad (when)
52import Data.IORef (readIORef)
52import Data.IORef (readIORef)
53−import Data.Text.IO.Internal (hGetLineWith, readChunk)
53+import Data.Text.Internal.IO (hGetLineWith, readChunk)
54import Data.Text.Lazy.Internal (chunk, empty)
54import Data.Text.Lazy.Internal (chunk, empty)
55import GHC.IO.Buffer (isEmptyBuffer)
55import GHC.IO.Buffer (isEmptyBuffer)
56import GHC.IO.Exception (IOException(..), IOErrorType(..), ioException)
56import GHC.IO.Exception (IOException(..), IOErrorType(..), ioException)
tests/text-tests.cabal+1−1
@@ -82,7 +82,7 @@ library
82 Data.Text.Internal.Fusion.Size
82 Data.Text.Internal.Fusion.Size
83 Data.Text.Internal.Fusion.Types
83 Data.Text.Internal.Fusion.Types
84 Data.Text.IO
84 Data.Text.IO
85− Data.Text.IO.Internal
85+ Data.Text.Internal.IO
86 Data.Text.Internal
86 Data.Text.Internal
87 Data.Text.Lazy
87 Data.Text.Lazy
88 Data.Text.Lazy.Builder
88 Data.Text.Lazy.Builder
text.cabal+1−1
@@ -103,7 +103,7 @@ library
103 Data.Text.Internal.Fusion.Common
103 Data.Text.Internal.Fusion.Common
104 Data.Text.Internal.Fusion.Size
104 Data.Text.Internal.Fusion.Size
105 Data.Text.Internal.Fusion.Types
105 Data.Text.Internal.Fusion.Types
106− Data.Text.IO.Internal
106+ Data.Text.Internal.IO
107 Data.Text.Lazy.Builder.Functions
107 Data.Text.Lazy.Builder.Functions
108 Data.Text.Lazy.Builder.Int.Digits
108 Data.Text.Lazy.Builder.Int.Digits
109 Data.Text.Lazy.Builder.Internal
109 Data.Text.Lazy.Builder.Internal