Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Row.Switch
Description
This module provides the ability to discharge a polymorphic variant using a record that has matching fields.
Documentation
class AppliesTo r f x | r x -> f, f r -> x where #
A simple class that we use to provide a constraint for function application.
Instances
AppliesTo r (x -> r) x # | |
Defined in Data.Row.Switch |