polytyped: Alternative to `Dynamic` with type guarantees
With Dynamic
you can store a value of any type in the same container,
but you have to track manually what kind of types can possibly be inside.
Poly
carries this information in a type level list, so you can be sure that
it's container contains a value of one of those types.
[Skip to Readme]
Downloads
- polytyped-0.1.0.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 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.17 && <4.22) [details] |
Tested with | ghc ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.2 || ==9.12.2 |
License | BSD-3-Clause |
Author | Ondřej Janošík |
Maintainer | j.ondra14@gmail.com |
Category | Data |
Home page | https://github.com/zlondrej/polytyped |
Bug tracker | https://github.com/zlondrej/polytyped/issues |
Uploaded | by zlondrej at 2025-09-08T16:11:35Z |
Distributions | |
Downloads | 3 total (3 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] |