Extensible type-safe unions

Version on this page:0.1.2@rev:2
LTS Haskell 14.27:0.1.2@rev:4
Stackage Nightly 2021-07-23:0.1.2@rev:6
Latest on Hackage:0.1.2@rev:6

See all snapshots union appears in

BSD-3-Clause licensed by Vladislav Zavialov
Maintained by Vladislav Zavialov
This version can be pinned in stack with:union-0.1.2@sha256:89b385a54aa2b79005971247214f5ee57f34532ea777022d28f14bf2c9830d9c,2130

Module documentation for 0.1.2

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