union: Extensible type-safe unions

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

Extensible type-safe unions for Haskell with prisms using modern GHC features. Dual to vinyl records. Unions are also known as corecords or polymorphic variants. Neither requires a Typeable constraint nor uses unsafe coercions at the cost of linear time access (negligible in practice).

Modules

[Last Documentation]

  • Data
    • Data.Union

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.2, 0.1.3
Dependencies base (>=4.20 && <4.22), deepseq (>=1.4 && <1.7), hashable (>=1.2 && <1.6), profunctors (>=5.1 && <5.7), tagged (>=0.8 && <0.9), vinyl (>=0.14.3 && <0.15) [details]
License BSD-3-Clause
Author Vladislav Zavialov
Maintainer Vladislav Zavialov <vlad.z.4096@gmail.com>
Category Data
Bug tracker https://github.com/int-index/union/issues
Source repo head: git clone git@github.com:int-index/union.git
Uploaded by int_index at 2025-03-15T16:36:53Z
Distributions LTSHaskell:0.1.2, Stackage:0.1.3
Reverse Dependencies 3 direct, 1 indirect [details]
Downloads 4757 total (9 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2025-03-15 [all 2 reports]