Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Data/Text/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ data Text = Text
{-# UNPACK #-} !Int -- ^ length in bytes (not in Char!), pointing to an end of UTF-8 sequence

-- | Type synonym for the strict flavour of 'Text'.
--
-- @since 2.1.1
type StrictText = Text

-- | Smart constructor.
Expand Down
1 change: 1 addition & 0 deletions src/Data/Text/Internal/Builder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ newtype Builder = Builder {
-> ST s [S.Text]
}

-- | @since 2.1.2
type LazyTextBuilder = Builder

instance Semigroup Builder where
Expand Down
2 changes: 2 additions & 0 deletions src/Data/Text/Internal/Lazy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ data Text = Empty
-- ^ Chunks must be non-empty, this invariant is not checked.

-- | Type synonym for the lazy flavour of 'Text'.
--
-- @since 2.1.1
type LazyText = Text

-- $invariant
Expand Down
Loading