purescript / purescript-filterable

Classes for filterable and witherable data structures
MIT License
25 stars 7 forks source link

Add extra defaults for `partition` and `filter` #10

Closed i-am-tom closed 7 years ago

i-am-tom commented 7 years ago

This commit adds four new functions: partitionDefaultFilter, partitionDefaultFilterMap, filterDefaultPartition, and filterDefaultPartitionMap. Granted, the partition-by-filter functions aren't too efficient, but they should at least be correct!