ghc-union
Extensible type-safe unions


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

BSD-3-Clause

cloud_download Downloads

Please select a product to see the available package versions:
Loading...
Loading package downloads...