data-diverse: Extensible records and polymorphic variants.
Data.Diverse.Many is an extensible record for any size encoded efficiently as (Seq Any). Data.Diverse.Which is a polymorphic variant of possibilities encoded as (Int, Any). Provides getters, setters, projection, injection, folds, and catamorphisms; accessed by type, index or label. Refer to ManySpec.hs and WhichSpec.hs for example usages. Iso, Lens and Prisms are provided in data-diverse-lens
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- data-diverse-4.7.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.3.0.0, 0.4.0.0, 0.5.0.0, 0.6.0.0, 0.7.0.0, 0.8.0.0, 0.8.1.0, 0.9.0.0, 0.9.0.1, 0.10.0.0, 0.11.0.0, 1.0.0.0, 1.0.0.1, 1.1.0.0, 1.2.0.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.3.0.0, 2.0.0.0, 2.0.1.0, 3.0.0.0, 3.1.0.0, 4.0.0.0, 4.1.0.0, 4.2.0.0, 4.3.0.0, 4.4.0.0, 4.5.0.0, 4.6.0.0, 4.7.0.0, 4.7.1.0 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.7 && <5), containers (>=0.5), deepseq (>=1.4), ghc-prim (>=0.5), hashable (>=1.3.0.0), tagged (>=0.8) [details] |
License | BSD-3-Clause |
Copyright | 2019 Louis Pan |
Author | Louis Pan |
Maintainer | louis@pan.me |
Category | Data, Records |
Home page | https://github.com/louispan/data-diverse#readme |
Source repo | head: git clone https://github.com/louispan/data-diverse |
Uploaded | by louispan at 2023-05-29T22:20:52Z |
Distributions | LTSHaskell:4.7.1.0, NixOS:4.7.1.0, Stackage:4.7.1.0 |
Reverse Dependencies | 6 direct, 9 indirect [details] |
Downloads | 19874 total (48 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |