Safe Haskell | None |
---|---|
Language | Haskell2010 |
The public, stable generic-override API.
Documentation
newtype Override a (xs :: [*]) Source #
The feature of this library. For use with DerivingVia.
Apply it to a type a
and supply a type-level list of instance
overrides xs
.
Override a |
Instances
(Generic (Override a xs), Eq (Rep (Override a xs) ())) => Eq (Override a xs) Source # | |
(Generic (Override a xs), Ord (Rep (Override a xs) ())) => Ord (Override a xs) Source # | |
Defined in Data.Override.Instances compare :: Override a xs -> Override a xs -> Ordering # (<) :: Override a xs -> Override a xs -> Bool # (<=) :: Override a xs -> Override a xs -> Bool # (>) :: Override a xs -> Override a xs -> Bool # (>=) :: Override a xs -> Override a xs -> Bool # | |
(Generic a, GOverride xs (Rep a)) => Generic (Override a xs) Source # | |
(Generic (Override a xs), Semigroup (Rep (Override a xs) ())) => Semigroup (Override a xs) Source # | |
(Generic (Override a xs), Monoid (Rep (Override a xs) ())) => Monoid (Override a xs) Source # | |
type Rep (Override a xs) Source # | |
Defined in Data.Override.Internal |