Safe Haskell | None |
---|---|
Language | Haskell98 |
This module provides the ability to discharge a polymorphic variant using a record that has matching fields.
Documentation
class Switch (v :: Row *) (r :: Row *) x | v x -> r, r x -> v where Source #
Safe Haskell | None |
---|---|
Language | Haskell98 |
This module provides the ability to discharge a polymorphic variant using a record that has matching fields.
class Switch (v :: Row *) (r :: Row *) x | v x -> r, r x -> v where Source #