vary
Vary: Friendly and fast Variant types for Haskell Just like tuples are a version of a user-defined product type (only without the field names), a Variant is a version of a user-defined sum type (but without the field names). Variant types are the generalization of Either. Especially in the situation where you want to handle multiple errors, Variant types are a great abstraction to use. Variant types are sometimes called '_polymorphic_ variants' for disambiguation. They are also commonly known as (open) unions, coproducts or extensible sums. Vary is lightweight on dependencies. With all library flags turned off, it only depends on base and deepseq. Please see the full README below or on GitHub at https://github.com/qqwy/haskell-vary#readme
hackage.haskell.org
0.1.1.3
9 months ago
9
403 total
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| Homepage | Homepage |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/vary
spec |
| License | MIT |
| First Release | about 2 years ago |
| Last Synced | 14 days ago |
Repository
| Stars | 10 on GitHub |
| Forks | 4 on GitHub |