polytropos-profunctors: Pure profunctor optics for polytropos open records and variants
Integration between polytropos and the profunctors ecosystem.
Provides pure profunctor lenses and prisms (Polytropos.Profunctors.Lens, Polytropos.Profunctors.Prism)
operating directly over Polytropos's unboxed Data.Primitive.SmallArray.SmallArray memory layout:
* Polytropos.Profunctors.fieldLens for record fields via compile-time Polytropos.Core.FieldIndex.
* Polytropos.Profunctors.ctorPrism for variant constructors via Polytropos.Core.ConstructorIndex.
* Zero-overhead Polytropos.Profunctors.slotLens and Polytropos.Profunctors.variantPrism indexed by array slots and constructor tags.
Start at the front door module Polytropos.Profunctors for complete documentation, usage guidelines, and worked examples.
[Skip to Readme]
Downloads
- polytropos-profunctors-0.1.0.2.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.2 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.14 && <5), polytropos-core (>=0.1 && <0.2), primitive (>=0.7 && <1), profunctors (>=5.6 && <6), tagged (>=0.8 && <1) [details] |
| License | (EUPL-1.2 OR Apache-2.0) |
| Author | Nadia Yvette Chambers |
| Maintainer | nadia.yvette.chambers@ik.me |
| Uploaded | by nyc at 2026-10-21T21:34:40Z |
| Category | Optics, Data, Control |
| Home page | https://github.com/NadiaYvette/polytropos |
| Bug tracker | https://github.com/NadiaYvette/polytropos/issues |
| Source repo | head: git clone https://github.com/NadiaYvette/polytropos(packages/polytropos-profunctors) |
| Distributions | |
| Downloads | 4 total (4 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] |