compactable: A typeclass for structures which can be catMaybed, filtered, and partitioned.

[ bsd3, control, library ] [ Propose Tags ]

This provides polymorphic implimentations for filter, compact (catMaybes), and separate. It allows for higher performance implimentations to be used in place of defaults for all data structures, and endeavors to centerally document those implimentations. Compactable aims to be as general and unconstrained as possible, providing instances for non-Functors like Set, as well as some Contravariants (though not published here). Compactable fully subsumes Data.Witherable, offers more laws, and is more general.

Versions [RSS] [faq],,,,,,,,,,,
Change log
Dependencies base (>=4.9 && <4.10.2), bifunctors (>=5.4.2 && <5.5), containers (>=0.5.7 && <0.6), transformers (>=0.5.2 && <0.6), vector (>=0.11 && <0.13) [details]
License BSD-3-Clause
Author Isaac Shapira
Category Control
Source repo head: git clone
Uploaded by fresheyeball at 2018-03-22T00:49:29Z
Distributions NixOS:
Downloads 5918 total (52 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-03-22 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees