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

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by Isaac Shapira

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.


Revision history for Compactable -- YYYY-mm-dd

  • First version. Released on an unsuspecting world.
Depends on 5 packages:
Used by 1 package:
comments powered byDisqus