File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff 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
6971type StrictText = Text
7072
7173-- | Smart constructor.
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ newtype Builder = Builder {
9797 -> ST s [S. Text ]
9898 }
9999
100+ -- | @since 2.1.2
100101type LazyTextBuilder = Builder
101102
102103instance Semigroup Builder where
Original file line number Diff line number Diff 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
5961type LazyText = Text
6062
6163-- $invariant
You can’t perform that action at this time.
0 commit comments