delete (which is a specialisation of deleteBy) is in Data.List, so it seemed like an omission to not have in ClassyPrelude.
This lacks both tests and more-optimized instances for ByteString and Text (plus their lazy counterparts), but I'm happy to add both (the latter probably using uncons and view-patterns, if you're cool with that) if this is something you'd consider merging
delete
(which is a specialisation ofdeleteBy
) is inData.List
, so it seemed like an omission to not have in ClassyPrelude.This lacks both tests and more-optimized instances for
ByteString
andText
(plus their lazy counterparts), but I'm happy to add both (the latter probably usinguncons
and view-patterns, if you're cool with that) if this is something you'd consider merging