groupBy

groupBy :: (a -> a -> Bool) -> [a] -> [[a]]
base Data.List
The groupBy function is the non-overloaded version of group.
groupBy :: (Char -> Char -> Bool) -> ByteString -> [ByteString]
bytestring Data.ByteString.Char8, bytestring Data.ByteString.Lazy.Char8
The groupBy function is the non-overloaded version of group.
groupBy :: (Char -> Char -> Bool) -> Text -> [Text]
text Data.Text
O(n) Group characters in a string according to a predicate.
groupBy :: (Char -> Char -> Bool) -> Text -> [Text]
text Data.Text.Lazy
The groupBy function is the non-overloaded version of group.
groupBy :: (Word8 -> Word8 -> Bool) -> ByteString -> [ByteString]
bytestring Data.ByteString, bytestring Data.ByteString.Lazy
The groupBy function is the non-overloaded version of group.