tail package:bytestring

O(1) Extract the elements after the head of a ByteString, which must be non-empty. An exception will be thrown in the case of an empty ByteString. This is a partial function, consider using uncons instead.
O(1) Extract the elements after the head of a ByteString, which must be non-empty. This is a partial function, consider using uncons instead.
O(n) Extract the elements after the head of a ShortByteString, which must be non-empty. An exception will be thrown in the case of an empty ShortByteString. This is a partial function, consider using uncons instead. Note: copies the entire byte array
O(n) Returns all final segments of the given ByteString, longest first.
O(n) Returns all final segments of the given ByteString, longest first.
A variety of tail for non-empty ByteStrings. unsafeTail omits the check for the empty case. As with unsafeHead, the programmer must provide a separate proof that the ByteString is non-empty.