pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/haskell/text/commit/1231709187de99fb62c1650fdca60bf076770f2f

er-b69241e157469407.css" /> Add since pragmas for StrictText, LazyText, LazyTextBuilder · haskell/text@1231709 · GitHub
Skip to content

Commit 1231709

Browse files
BodigrimLysxia
authored andcommitted
Add since pragmas for StrictText, LazyText, LazyTextBuilder
1 parent 9f5335d commit 1231709

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/Data/Text/Internal.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ data Text = Text
6666
{-# UNPACK #-} !Int -- ^ length in bytes (not in Char!), pointing to an end of UTF-8 sequence
6767

6868
-- | Type synonym for the strict flavour of 'Text'.
69+
--
70+
-- @since 2.1.1
6971
type StrictText = Text
7072

7173
-- | Smart constructor.

src/Data/Text/Internal/Builder.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ newtype Builder = Builder {
9797
-> ST s [S.Text]
9898
}
9999

100+
-- | @since 2.1.2
100101
type LazyTextBuilder = Builder
101102

102103
instance Semigroup Builder where

src/Data/Text/Internal/Lazy.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ data Text = Empty
5656
-- ^ Chunks must be non-empty, this invariant is not checked.
5757

5858
-- | Type synonym for the lazy flavour of 'Text'.
59+
--
60+
-- @since 2.1.1
5961
type LazyText = Text
6062

6163
-- $invariant

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy