union: Extensible type-safe unions

[ bsd3, data, library ] [ Propose Tags ]

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).


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,, 0.1.2
Dependencies base (>=4.9 && <4.18), deepseq (>=1.4 && <1.5), hashable (>=1.2 && <1.5), 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>
Revised Revision 8 made by int_index at 2022-10-11T17:54:17Z
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 2018-10-13T20:36:53Z
Distributions LTSHaskell:0.1.2, NixOS:0.1.2
Reverse Dependencies 3 direct, 1 indirect [details]
Downloads 4461 total (8 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-10-13 [all 1 reports]