union

Extensible type-safe unions

Version on this page:0.1.2@rev:3
LTS Haskell 14.6:0.1.2@rev:4
Stackage Nightly 2019-09-16:0.1.2@rev:4
Latest on Hackage:0.1.2@rev:4

See all snapshots union appears in

BSD-3-Clause licensed by Vladislav Zavialov
Maintained by Vladislav Zavialov

Module documentation for 0.1.2

This version can be pinned in stack with:union-0.1.2@sha256:e634b2ed46a0df597b396dad09ddb5d36a78782d49a6a5d3e17f6e3c3d611298,2130

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

comments powered byDisqus