-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Description
In Data.List
, we have:
group :: Eq a => [a] -> [[a]]
groupBy :: (a -> a -> Bool) -> [a] -> [[a]]
I would like to introduce analogous version into vector
:
group :: Eq a => Vector -> [Vector a]
groupBy :: (a -> a -> Bool) -> Vector a -> [Vector a]
These have the potential to be much more space efficient than the list equivalents since they share the underlying array with the original vector. Would this be accepted if I added it?
radrow, AustinMooreT, dmjio, mujx, ulysses4ever and 2 more
Metadata
Metadata
Assignees
Labels
No labels