Package Info

ghc-union


Extensible type-safe unions


Development/Languages/Other

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


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/union

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.1.1.1-bp150.1.3 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • x86-64
  • ghc-union
  • ghc-union-devel