union

Extensible type-safe unions

Version on this page:0.1.1.2@rev:2
LTS Haskell 23.1:0.1.2@rev:9
Stackage Nightly 2024-12-22:0.1.2@rev:9
Latest on Hackage:0.1.2@rev:9

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.1.2@sha256:cade2b81d3362747a05f075310a4a66972cf9dd4ba35f6192ef5aff4fc630d21,2084

Module documentation for 0.1.1.2

Used by 1 package in nightly-2018-01-25(full list with versions):

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