snoyberg / mono-traversable

Type classes for mapping, folding, and traversing monomorphic containers
153 stars 63 forks source link

Add `delete` and `deleteBy` methods to EqSequence #94

Closed glittershark closed 8 years ago

glittershark commented 8 years ago

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

snoyberg commented 8 years ago

Thanks!