O(n) The partition function takes a predicate a
ByteString and returns the pair of ByteStrings with elements which do
and do not satisfy the predicate, respectively; i.e.,
partition p bs == (filter p xs, filter (not . p) xs)
O(n) The partition function takes a predicate a
ShortByteString and returns the pair of ShortByteStrings with elements
which do and do not satisfy the predicate, respectively; i.e.,
partition p bs == (filter p sbs, filter (not . p) sbs)