tails -base

tails :: ByteString -> [ByteString]
bytestring Data.ByteString, bytestring Data.ByteString.Char8, bytestring Data.ByteString.Lazy, bytestring Data.ByteString.Lazy.Char8
O(n) Return all final segments of the given ByteString, longest first.
tails :: Seq a -> Seq (Seq a)
containers Data.Sequence
O(n). Returns a sequence of all suffixes of this sequence, longest first. For example, > tails (fromList "abc") = fromList [fromList "abc", fromList "bc", fromList "c", fromList ""] Evaluating the ith suffix takes O(log(min(i, n-i))), but evaluating every suffix in the sequence takes O(n) due to sharing.
tails :: Text -> [Text]
text Data.Text, text Data.Text.Lazy
O(n) Return all final segments of the given Text, longest first.
data TextDetails
pretty Text.PrettyPrint.HughesPJ, pretty Text.PrettyPrint
The TextDetails data type A TextDetails represents a fragment of text that will be output at some point.