maximum -base +text

maximum :: Text -> Char
text Data.Text, text Data.Text.Lazy
O(n) maximum returns the maximum value from a Text, which must be non-empty. Subject to fusion.