on master help sign in
Make some of the low-level internals visible.
4213b9eBryan O'Sullivan
Data/Text/Internal.hs+7−2
@@ -12,8 +12,13 @@
12-- Stability : experimental
12-- Stability : experimental
13-- Portability : GHC
13-- Portability : GHC
14--
14--
15−-- Semi-public internals. Most users should not need to use this
15+-- A module containing private 'Text' internals. This exposes the
16−-- module.
16+-- 'Text' representation and low level construction functions.
17+-- Modules which extend the 'Text' system may need to use this module.
18+--
19+-- You should not use this module unless you are determined to monkey
20+-- with the internals, as the functions here do just about nothing to
21+-- preserve data invariants. You have been warned!
17
22
18module Data.Text.Internal
23module Data.Text.Internal
19 (
24 (
Data/Text/Lazy/Internal.hs+6−2
@@ -9,10 +9,14 @@
9-- Stability : experimental
9-- Stability : experimental
10-- Portability : GHC
10-- Portability : GHC
11--
11--
12−-- A module containing semi-public 'Text' internals. This exposes the
12+-- A module containing private 'Text' internals. This exposes the
13-- 'Text' representation and low level construction functions.
13-- 'Text' representation and low level construction functions.
14-- Modules which extend the 'Text' system may need to use this module.
14-- Modules which extend the 'Text' system may need to use this module.
15−-- Regular users should not.
15+--
16+-- You should not use this module unless you are determined to monkey
17+-- with the internals, as the functions here do just about nothing to
18+-- preserve data invariants. You have been warned!
19+
16module Data.Text.Lazy.Internal
20module Data.Text.Lazy.Internal
17 (
21 (
18 Text(..)
22 Text(..)
text.cabal+4−4
@@ -1,5 +1,5 @@
1name: text
1name: text
2−version: 0.11.0.2
2+version: 0.11.0.3
3homepage: http://bitbucket.org/bos/text
3homepage: http://bitbucket.org/bos/text
4bug-reports: http://bitbucket.org/bos/text/issues
4bug-reports: http://bitbucket.org/bos/text/issues
5synopsis: An efficient packed Unicode text type.
5synopsis: An efficient packed Unicode text type.
@@ -79,18 +79,20 @@ flag developer
79library
79library
80 exposed-modules:
80 exposed-modules:
81 Data.Text
81 Data.Text
82+ Data.Text.Array
82 Data.Text.Encoding
83 Data.Text.Encoding
83 Data.Text.Encoding.Error
84 Data.Text.Encoding.Error
84 Data.Text.Foreign
85 Data.Text.Foreign
85 Data.Text.IO
86 Data.Text.IO
87+ Data.Text.Internal
86 Data.Text.Lazy
88 Data.Text.Lazy
87 Data.Text.Lazy.Builder
89 Data.Text.Lazy.Builder
88 Data.Text.Lazy.Encoding
90 Data.Text.Lazy.Encoding
89 Data.Text.Lazy.IO
91 Data.Text.Lazy.IO
92+ Data.Text.Lazy.Internal
90 Data.Text.Lazy.Read
93 Data.Text.Lazy.Read
91 Data.Text.Read
94 Data.Text.Read
92 other-modules:
95 other-modules:
93− Data.Text.Array
94 Data.Text.Encoding.Fusion
96 Data.Text.Encoding.Fusion
95 Data.Text.Encoding.Fusion.Common
97 Data.Text.Encoding.Fusion.Common
96 Data.Text.Encoding.Utf16
98 Data.Text.Encoding.Utf16
@@ -102,10 +104,8 @@ library
102 Data.Text.Fusion.Internal
104 Data.Text.Fusion.Internal
103 Data.Text.Fusion.Size
105 Data.Text.Fusion.Size
104 Data.Text.IO.Internal
106 Data.Text.IO.Internal
105− Data.Text.Internal
106 Data.Text.Lazy.Encoding.Fusion
107 Data.Text.Lazy.Encoding.Fusion
107 Data.Text.Lazy.Fusion
108 Data.Text.Lazy.Fusion
108− Data.Text.Lazy.Internal
109 Data.Text.Lazy.Search
109 Data.Text.Lazy.Search
110 Data.Text.Search
110 Data.Text.Search
111 Data.Text.Unsafe
111 Data.Text.Unsafe