Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.RBR.Demoted
Documentation
class DemotableColor (c :: Color) where Source #
Methods
demoteColor :: Proxy c -> Color Source #
Instances
DemotableColor 'B Source # | |
Defined in Data.RBR.Demoted | |
DemotableColor 'R Source # | |
Defined in Data.RBR.Demoted |
class DemotableMap (t :: Map Symbol Type) where Source #
Instances
DemotableMap ('E :: Map Symbol Type) Source # | |
(DemotableColor c, KnownSymbol s, Typeable ty, DemotableMap l, DemotableMap r) => DemotableMap ('N c l s ty r) Source # | |