union

Extensible type-safe unions

Version on this page:0.1.1.0
LTS Haskell 12.18:0.1.2
Stackage Nightly 2018-09-28:0.1.1.2
Latest on Hackage:0.1.2

See all snapshots union appears in

BSD3 licensed by Vladislav Zavialov
Maintained by Vladislav Zavialov

Module documentation for 0.1.1.0

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