text 0.11.0.3 → 0.11.0.4
raw patch · 3 files changed
+5/−1 lines, 3 filesdep ~basedep ~bytestring
Dependency ranges changed: base, bytestring
Files
- Data/Text.hs +2/−0
- Data/Text/Lazy.hs +2/−0
- text.cabal +1/−1
Data/Text.hs view
@@ -388,6 +388,8 @@ cons c t = unstream (S.cons (safe c) (stream t)) {-# INLINE cons #-} +infixr 5 cons+ -- | /O(n)/ Adds a character to the end of a 'Text'. This copies the -- entire array in the process, unless fused. Subject to fusion. -- Performs replacement on invalid scalar values.
Data/Text/Lazy.hs view
@@ -392,6 +392,8 @@ cons c t = Chunk (T.singleton c) t {-# INLINE [1] cons #-} +infixr 5 cons+ {-# RULES "LAZY TEXT cons -> fused" [~1] forall c t. cons c t = unstream (S.cons c (stream t))
text.cabal view
@@ -1,5 +1,5 @@ name: text-version: 0.11.0.3+version: 0.11.0.4 homepage: http://bitbucket.org/bos/text bug-reports: http://bitbucket.org/bos/text/issues synopsis: An efficient packed Unicode text type.