polytropos-dhall: High-performance Dhall codecs and generic adapters for polytropos open rows
Linear O(N) Dhall.Marshal.Decode.FromDhall and Dhall.Marshal.Encode.ToDhall codecs
and generic adapters for polytropos open records
and variants via dhall.
Unlike GHC.Generics which builds deeply nested binary tree nodes ((:*:), (:+:))
during serialization, polytropos-dhall unrolls the flat contiguous
Data.Primitive.SmallArray.SmallArray payload directly into Dhall record and union literals
and back. Variants serialize into Dhall union expressions with O(1) constructor tag dispatch.
Also provides generic adapters via Dhall.Marshal.Decode.GenericFromDhall and
Dhall.Marshal.Encode.GenericToDhall (Polytropos.Dhall.GenericDhall) enabling
seamless DerivingVia integration for nominal Haskell types and gachi substrates.
Start at the front door module Polytropos.Dhall for complete documentation, codec options, and worked examples.
[Skip to Readme]
Downloads
- polytropos-dhall-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), bytestring (>=0.10 && <0.13), dhall (>=1.42 && <1.43), either (>=5.0 && <5.1), polytropos-core (>=0.1 && <0.2), polytropos-plugin (>=0.1 && <0.2), primitive (>=0.7 && <0.10), text (>=1.2 && <2.2) [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 | Data, Configuration |
| 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-dhall) |
| Distributions | |
| Downloads | 4 total (4 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2026-10-21 [all 1 reports] |