Safe Haskell | None |
---|
Popular transformation functions for the Text
observation type.
Documentation
prefix :: Int -> Text -> Maybe TextSource
Prefix of the given size or Nothing
if the size exceeds the
length of the text.
suffix :: Int -> Text -> Maybe TextSource
Suffix of the given size or Nothing
if the size exceeds the
length of the text.
Shape of the text. All lower-case characters are mapped to l
,
upper-case characters to u
, digits to d
and rest of characters
to x
.