compactable: A typeclass for structures which can be catMaybed, filtered, and partitioned.
This provides polymorphic implementations for filter, compact (catMaybes), and separate. It allows for higher performance implementations to be used in place of defaults for all data structures, and endeavors to centerally document those implementations. 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 [faq] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.1.0, 0.1.1.1, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.1.2.3 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.9 && <4.13), bifunctors (>=5.4), containers (>=0.5.7 && <0.7), transformers (>=0.5.2 && <0.6), vector (>=0.11 && <0.13) [details] |
License | BSD-3-Clause |
Author | Isaac Shapira |
Maintainer | fresheyeball@gmail.com |
Category | Control |
Source repo | head: git clone https://gitlab.com/fresheyeball/Compactable.git |
Uploaded | by fresheyeball at 2019-02-04T23:10:19Z |
Distributions | NixOS:0.1.2.3 |
Downloads | 5342 total (18 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2019-02-05 [all 1 reports] |
Downloads
- compactable-0.1.2.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)