Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
class Demotable sk where Source #
Singleton types which may be demoted.
Instances
Demotable SNat Source # | |
Demotable SUnit Source # | |
Demotable SBool Source # | |
Demotable SChar Source # | |
Demotable SSymbol Source # | |
Demotable sa => Demotable (SMaybe sa :: Maybe a -> Type) Source # | |
Demotable sa => Demotable (SList sa :: [a] -> Type) Source # | |
(Demotable sl, Demotable sr) => Demotable (SEither sl sr :: Either l r -> Type) Source # | |
(Demotable sa, Demotable sb) => Demotable (STuple2 sa sb :: (a, b) -> Type) Source # | |
(Demotable sa, Demotable sb, Demotable sc) => Demotable (STuple3 sa sb sc :: (a, b, c) -> Type) Source # | |