tails -text

tails :: [a] -> [[a]]
base Data.List
The tails function returns all final segments of the argument, longest first. For example, > tails "abc" == ["abc", "bc", "c",""]
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.
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.