mirror of
https://github.com/composewell/streamly.git
synced 2024-09-11 19:47:10 +03:00
Rename Streamly.Internal.Data.Unicode.Stream
According to the new module structure, it should be Streamly.Internal.Unicode.Stream
This commit is contained in:
parent
b881ed3cd7
commit
d3325c60f6
@ -13,7 +13,7 @@ src/Streamly/Internal/Data/Stream/StreamDK/Type.hs
|
||||
src/Streamly/Internal/Data/Stream/StreamD.hs
|
||||
src/Streamly/Internal/Data/Pipe/Types.hs
|
||||
src/Streamly/Internal/Data/SmallArray/Types.hs
|
||||
src/Streamly/Internal/Data/Unicode/Stream.hs
|
||||
src/Streamly/Internal/Unicode/Stream.hs
|
||||
src/Streamly/Internal/Data/IORef/Prim.hs
|
||||
src/Streamly/Internal/Data/Array/Prim/Types.hs
|
||||
src/Streamly/Internal/Data/Array/Prim/MutTypesInclude.hs
|
||||
|
@ -41,7 +41,7 @@ import qualified Streamly.FileSystem.Handle as FH
|
||||
-- import qualified Streamly.Internal.Data.Fold as IFL
|
||||
import qualified Streamly.Internal.Data.Parser as PR
|
||||
import qualified Streamly.Internal.Data.Stream.StreamD as D
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as IUS
|
||||
import qualified Streamly.Internal.Unicode.Stream as IUS
|
||||
import qualified Streamly.Internal.FileSystem.Handle as IFH
|
||||
import qualified Streamly.Internal.Memory.Array as A
|
||||
import qualified Streamly.Internal.Memory.Array.Types as AT
|
||||
|
@ -31,7 +31,7 @@ import qualified Streamly.Data.Fold as FL
|
||||
import qualified Streamly.Data.Unicode.Stream as SS
|
||||
import qualified Streamly.FileSystem.Handle as FH
|
||||
import qualified Streamly.Internal.Data.Unfold as IUF
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as IUS
|
||||
import qualified Streamly.Internal.Unicode.Stream as IUS
|
||||
import qualified Streamly.Internal.FileSystem.Handle as IFH
|
||||
import qualified Streamly.Internal.Memory.ArrayStream as AS
|
||||
import qualified Streamly.Internal.Memory.Unicode.Array as IUA
|
||||
|
@ -10,7 +10,7 @@ import qualified Streamly.Prelude as S
|
||||
-- import qualified Streamly.FileSystem.FD as FH
|
||||
|
||||
import qualified Streamly.Internal.Data.Fold as FL
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as US
|
||||
import qualified Streamly.Internal.Unicode.Stream as US
|
||||
import qualified Streamly.Internal.Memory.ArrayStream as AS
|
||||
import qualified Streamly.Internal.Data.Stream.IsStream as S
|
||||
|
||||
|
@ -17,7 +17,7 @@ import qualified Data.List as List
|
||||
import qualified Data.Ord as Ord
|
||||
import Foreign.Storable (Storable(..))
|
||||
import qualified Streamly.Data.Unicode.Stream as S
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as S
|
||||
import qualified Streamly.Internal.Unicode.Stream as S
|
||||
import qualified Streamly.Data.Fold as FL
|
||||
import qualified Streamly.Internal.Data.Fold as IFL
|
||||
import qualified Streamly.Internal.Data.Unfold as IUF
|
||||
|
@ -36,7 +36,7 @@ import Data.Word (Word8)
|
||||
import GHC.Conc (numCapabilities)
|
||||
import System.Environment (getArgs)
|
||||
import System.IO (Handle, openFile, IOMode(..))
|
||||
import Streamly.Internal.Data.Unicode.Stream
|
||||
import Streamly.Internal.Unicode.Stream
|
||||
(DecodeState, DecodeError(..), CodePoint, decodeUtf8Either,
|
||||
resumeDecodeUtf8Either)
|
||||
|
||||
|
@ -92,5 +92,5 @@ module Streamly.Data.Unicode.Stream
|
||||
)
|
||||
where
|
||||
|
||||
import Streamly.Internal.Data.Unicode.Stream
|
||||
import Streamly.Internal.Unicode.Stream
|
||||
import Prelude hiding (lines, words, unlines, unwords)
|
||||
|
@ -171,7 +171,7 @@ import System.IO (Handle, hClose)
|
||||
import qualified Data.List.NonEmpty as NonEmpty
|
||||
import qualified Streamly.Internal.Data.Parser as PR
|
||||
import qualified Streamly.Internal.Data.Stream.IsStream as S
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as U
|
||||
import qualified Streamly.Internal.Unicode.Stream as U
|
||||
import qualified Streamly.Internal.FileSystem.Handle as FH
|
||||
import qualified Streamly.Internal.Memory.Array as A
|
||||
|
||||
|
@ -178,7 +178,7 @@ import qualified Data.List.NonEmpty as NonEmpty
|
||||
import qualified Streamly.Internal.Data.Fold as FL
|
||||
import qualified Streamly.Internal.Data.Parser as PR
|
||||
import qualified Streamly.Internal.Data.Stream.IsStream as S
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as U
|
||||
import qualified Streamly.Internal.Unicode.Stream as U
|
||||
import qualified Streamly.Internal.FileSystem.Handle as FH
|
||||
import qualified Streamly.Internal.Memory.Array as A
|
||||
|
||||
@ -732,7 +732,7 @@ watchToStream (Watch handle wdMap) =
|
||||
--
|
||||
-- /Internal/
|
||||
--
|
||||
watchPathsWith ::
|
||||
watchPathsWith ::
|
||||
(Config -> Config) -> NonEmpty (Array Word8) -> SerialT IO Event
|
||||
watchPathsWith f paths = S.bracket before after watchToStream
|
||||
|
||||
|
@ -22,7 +22,7 @@ import Streamly (IsStream, MonadAsync)
|
||||
import Prelude hiding (String, lines, words, unlines, unwords)
|
||||
import Streamly.Memory.Array (Array)
|
||||
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as S
|
||||
import qualified Streamly.Internal.Unicode.Stream as S
|
||||
import qualified Streamly.Memory.Array as A
|
||||
|
||||
-- | Break a string up into a stream of strings at newline characters.
|
||||
|
@ -22,7 +22,7 @@ import Streamly (IsStream, MonadAsync)
|
||||
import Prelude hiding (String, lines, words, unlines, unwords)
|
||||
import Streamly.Internal.Data.Array.Prim.Pinned (Array)
|
||||
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as S
|
||||
import qualified Streamly.Internal.Unicode.Stream as S
|
||||
import qualified Streamly.Internal.Data.Array.Prim.Pinned as A
|
||||
|
||||
-- | Break a string up into a stream of strings at newline characters.
|
||||
|
@ -1,9 +1,9 @@
|
||||
-- |
|
||||
-- Module : Streamly.Data.Internal.Unicode.Stream
|
||||
-- Module : Streamly.Internal.Unicode.Stream
|
||||
-- Copyright : (c) 2018 Composewell Technologies
|
||||
-- (c) Bjoern Hoehrmann 2008-2009
|
||||
--
|
||||
-- License : BSD3
|
||||
-- License : BSD-3-Clause
|
||||
-- Maintainer : streamly@composewell.com
|
||||
-- Stability : experimental
|
||||
-- Portability : GHC
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#include "inline.hs"
|
||||
|
||||
module Streamly.Internal.Data.Unicode.Stream
|
||||
module Streamly.Internal.Unicode.Stream
|
||||
(
|
||||
-- * Construction (Decoding)
|
||||
decodeLatin1
|
@ -480,7 +480,7 @@ library
|
||||
, Streamly.Internal.FileSystem.File
|
||||
|
||||
-- Text Processing
|
||||
, Streamly.Internal.Data.Unicode.Stream
|
||||
, Streamly.Internal.Unicode.Stream
|
||||
, Streamly.Internal.Unicode.Char
|
||||
, Streamly.Internal.Memory.Unicode.Array
|
||||
, Streamly.Internal.Unicode.Array.Prim.Pinned
|
||||
@ -490,7 +490,6 @@ library
|
||||
|
||||
-- Deprecated
|
||||
|
||||
|
||||
if !impl(ghcjs)
|
||||
exposed-modules:
|
||||
Streamly.Network.Socket
|
||||
|
@ -13,7 +13,7 @@ import qualified Streamly.Memory.Array as A
|
||||
import qualified Streamly.Internal.Memory.ArrayStream as AS
|
||||
import qualified Streamly.Prelude as S
|
||||
import qualified Streamly.Data.Unicode.Stream as SS
|
||||
import qualified Streamly.Internal.Data.Unicode.Stream as IUS
|
||||
import qualified Streamly.Internal.Unicode.Stream as IUS
|
||||
import qualified Streamly.Internal.Memory.Unicode.Array as IUA
|
||||
|
||||
-- Coverage build takes too long with default number of tests
|
||||
|
Loading…
Reference in New Issue
Block a user