mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 23:10:36 +03:00
Rename unicode internal modules (#2164)
This commit is contained in:
parent
89b95bd568
commit
45e21892bc
@ -33,7 +33,7 @@
|
||||
- ignore: {name: "Use ++", within: Stream.Reduce}
|
||||
- ignore: {name: "Use ++", within: Stream.Split}
|
||||
- ignore: {name: "Redundant bracket", within: Stream.Split}
|
||||
- ignore: {name: "Use isDigit", within: Streamly.Internal.Unicode.Char.Parser}
|
||||
- ignore: {name: "Use isDigit", within: Streamly.Internal.Unicode.Parser}
|
||||
|
||||
# Specify additional command line arguments
|
||||
#
|
||||
|
@ -28,7 +28,7 @@ import qualified Streamly.Data.Fold as Fold
|
||||
import qualified Streamly.Internal.Data.Stream.IsStream as Stream
|
||||
import qualified Streamly.Internal.Data.Unfold as Unfold
|
||||
import qualified Streamly.Internal.FileSystem.Handle as Handle
|
||||
import qualified Streamly.Internal.Unicode.Array.Char as UnicodeArr
|
||||
import qualified Streamly.Internal.Unicode.Array as UnicodeArr
|
||||
import qualified Streamly.Internal.Unicode.Stream as Unicode
|
||||
|
||||
import Gauge hiding (env)
|
||||
|
@ -1,5 +1,5 @@
|
||||
-- |
|
||||
-- Module : Streamly.Internal.Unicode.Array.Char
|
||||
-- Module : Streamly.Internal.Unicode.Array
|
||||
-- Copyright : (c) 2018 Composewell Technologies
|
||||
--
|
||||
-- License : BSD-3-Clause
|
||||
@ -12,7 +12,7 @@
|
||||
-- This provides random access and the length of the string in O(1). Also,
|
||||
-- better append performance.
|
||||
--
|
||||
module Streamly.Internal.Unicode.Array.Char
|
||||
module Streamly.Internal.Unicode.Array
|
||||
(
|
||||
-- * Streams of Strings
|
||||
lines
|
||||
@ -37,7 +37,7 @@ import Prelude hiding (String, lines, words, unlines, unwords)
|
||||
-- >>> import Prelude hiding (String, lines, words, unlines, unwords)
|
||||
-- >>> import qualified Streamly.Data.Stream as Stream
|
||||
-- >>> import qualified Streamly.Data.Fold as Fold
|
||||
-- >>> import qualified Streamly.Internal.Unicode.Array.Char as Unicode
|
||||
-- >>> import qualified Streamly.Internal.Unicode.Array as Unicode
|
||||
|
||||
-- | Break a string up into a stream of strings at newline characters.
|
||||
-- The resulting strings do not contain newlines.
|
@ -1,5 +1,5 @@
|
||||
-- |
|
||||
-- Module : Streamly.Internal.Unicode.Char.Parser
|
||||
-- Module : Streamly.Internal.Unicode.Parser
|
||||
-- Copyright : (c) 2021 Composewell Technologies
|
||||
-- License : BSD-3-Clause
|
||||
-- Maintainer : streamly@composewell.com
|
||||
@ -10,7 +10,7 @@
|
||||
-- "Streamly.Unicode.Stream" module to convert an input byte stream to a
|
||||
-- Unicode Char stream and then use these parsers on the Char stream.
|
||||
|
||||
module Streamly.Internal.Unicode.Char.Parser
|
||||
module Streamly.Internal.Unicode.Parser
|
||||
(
|
||||
-- * Generic
|
||||
char
|
@ -47,7 +47,7 @@ import qualified Streamly.Data.Fold as Fold
|
||||
import qualified Streamly.Internal.Data.Parser as Parser
|
||||
(some, many, takeWhile1)
|
||||
import qualified Streamly.Data.Stream as Stream (fromList, parse)
|
||||
import qualified Streamly.Internal.Unicode.Char.Parser as Parser
|
||||
import qualified Streamly.Internal.Unicode.Parser as Parser
|
||||
|
||||
-- $setup
|
||||
-- >>> :m
|
||||
|
@ -52,4 +52,4 @@ module Streamly.Unicode.Parser
|
||||
)
|
||||
where
|
||||
|
||||
import Streamly.Internal.Unicode.Char.Parser
|
||||
import Streamly.Internal.Unicode.Parser
|
||||
|
@ -68,7 +68,7 @@
|
||||
--
|
||||
-- Some experimental APIs to conveniently process text using the
|
||||
-- @Array Char@ represenation directly can be found in
|
||||
-- "Streamly.Internal.Unicode.Array.Char".
|
||||
-- "Streamly.Internal.Unicode.Array".
|
||||
|
||||
-- XXX an unpinned array representation can be useful to store short and short
|
||||
-- lived strings in memory.
|
||||
|
@ -334,8 +334,8 @@ library
|
||||
-- streamly-unicode-core
|
||||
, Streamly.Internal.Unicode.Stream
|
||||
, Streamly.Internal.Unicode.String
|
||||
, Streamly.Internal.Unicode.Char.Parser
|
||||
, Streamly.Internal.Unicode.Array.Char
|
||||
, Streamly.Internal.Unicode.Parser
|
||||
, Streamly.Internal.Unicode.Array
|
||||
|
||||
-- Filesystem/IO
|
||||
, Streamly.Internal.FileSystem.Handle
|
||||
|
@ -24,7 +24,7 @@ import qualified Streamly.Prelude as S
|
||||
import qualified Streamly.Internal.Data.Stream.IsStream as S
|
||||
import qualified Streamly.Unicode.Stream as SS
|
||||
import qualified Streamly.Internal.Unicode.Stream as IUS
|
||||
import qualified Streamly.Internal.Unicode.Array.Char as IUA
|
||||
import qualified Streamly.Internal.Unicode.Array as IUA
|
||||
import qualified Test.Hspec as H
|
||||
|
||||
import Test.Hspec.QuickCheck
|
||||
|
Loading…
Reference in New Issue
Block a user