[Text] -> Text

concat :: [Text] -> Text
text Data.Text, text Data.Text.Lazy
O(n) Concatenate a list of Texts.
fromChunks :: [Text] -> Text
text Data.Text.Lazy
O(c) Convert a list of strict Texts into a lazy Text.
unlines :: [Text] -> Text
text Data.Text, text Data.Text.Lazy
O(n) Joins lines, after appending a terminating newline to each.
unwords :: [Text] -> Text
text Data.Text, text Data.Text.Lazy
O(n) Joins words using single space characters.
intercalate :: Text -> [Text] -> Text
text Data.Text, text Data.Text.Lazy
O(n) The intercalate function takes a Text and a list of Texts and concatenates the list after interspersing the first argument between each element of the list.
transpose :: [Text] -> [Text]
text Data.Text, text Data.Text.Lazy
O(n) The transpose function transposes the rows and columns of its Text argument. Note that this function uses pack, unpack, and the list version of transpose, and is thus not very efficient.
maximum :: Ord a => [a] -> a
base Prelude, base Data.List
maximum returns the maximum value from a list, which must be non-empty, finite, and of an ordered type. It is a special case of maximumBy, which allows the programmer to supply their own comparison function.
minimum :: Ord a => [a] -> a
base Prelude, base Data.List
minimum returns the minimum value from a list, which must be non-empty, finite, and of an ordered type. It is a special case of minimumBy, which allows the programmer to supply their own comparison function.
mconcat :: Monoid a => [a] -> a
base Data.Monoid
the :: Eq a => [a] -> a
base GHC.Exts
the ensures that all the elements of the list are identical and then returns that unique element
head :: [a] -> a
base Prelude, base Data.List
Extract the first element of a list, which must be non-empty.
last :: [a] -> a
base Prelude, base Data.List
Extract the last element of a list, which must be finite and non-empty.
copy :: Text -> Text
text Data.Text
O(n) Make a distinct copy of the given string, sharing no storage with the original string. As an example, suppose you read a large string, of which you need only a small portion. If you do not use copy, the entire original array will be kept alive in memory by the smaller string. Making a copy "breaks the link" to the original array, allowing it to be garbage collected if there are no other live references to it.
fromStrict :: Text -> Text
text Data.Text.Lazy
O(c) Convert a strict Text into a lazy Text.
init :: Text -> Text
text Data.Text, text Data.Text.Lazy
O(1) Returns all but the last character of a Text, which must be non-empty. Subject to fusion.
lazyInvariant :: Text -> Text
text Data.Text.Lazy.Internal
Check the invariant lazily.
reverse :: Text -> Text
text Data.Text.Lazy
O(n) reverse t returns the elements of t in reverse order.
reverse :: Text -> Text
text Data.Text
O(n) Reverse the characters of a string. Subject to fusion.
strip :: Text -> Text
text Data.Text, text Data.Text.Lazy
O(n) Remove leading and trailing white space from a string. Equivalent to: > dropAround isSpace
stripEnd :: Text -> Text
text Data.Text, text Data.Text.Lazy
O(n) Remove trailing white space from a string. Equivalent to: > dropWhileEnd isSpace

Show more results