tails -containers
The tails function returns all final segments of the argument, longest first. For example,
> tails "abc" == ["abc", "bc", "c",""]
O(n) Return all final segments of the given ByteString, longest first.
O(n) Return all final segments of the given Text, longest first.
The TextDetails data type
A TextDetails represents a fragment of text that will be output at some point.