Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Hix.Managed.Data.Diff
Documentation
class PrettyDiffDetail a where Source #
Methods
prettyDiffDetail :: a -> Maybe Doc Source #
Instances
PrettyDiffDetail BoundsDiffDetail Source # | |
Defined in Hix.Managed.Data.Diff Methods | |
PrettyDiffDetail () Source # | |
Defined in Hix.Managed.Data.Diff Methods prettyDiffDetail :: () -> Maybe Doc Source # |
Constructors
DiffAdded a | |
DiffChanged | |
Instances
Functor (Diff d) Source # | |
(Pretty a, PrettyDiffDetail d) => Pretty (Diff d a) Source # | |
Defined in Hix.Managed.Data.Diff | |
Generic (Diff d a) Source # | |
(Show a, Show d) => Show (Diff d a) Source # | |
(Eq a, Eq d) => Eq (Diff d a) Source # | |
type Rep (Diff d a) Source # | |
Defined in Hix.Managed.Data.Diff type Rep (Diff d a) = D1 ('MetaData "Diff" "Hix.Managed.Data.Diff" "hix-0.7.1-GF38grEMhDKjpxBMjWXGC" 'False) (C1 ('MetaCons "DiffAdded" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a)) :+: C1 ('MetaCons "DiffChanged" 'PrefixI 'True) (S1 ('MetaSel ('Just "original") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a) :*: (S1 ('MetaSel ('Just "new") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Just "detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 d)))) |
type VersionDiff = Diff () Version Source #
newtype BoundsDiffDetail Source #
Constructors
BoundsDiffDetail (These VersionDiff VersionDiff) |
Instances
Instances
Functor (Change d) Source # | |
(Pretty a, PrettyDiffDetail d) => Pretty (Change d a) Source # | |
Defined in Hix.Managed.Data.Diff | |
Generic (Change d a) Source # | |
(Show a, Show d) => Show (Change d a) Source # | |
(Eq a, Eq d) => Eq (Change d a) Source # | |
type Rep (Change d a) Source # | |
Defined in Hix.Managed.Data.Diff type Rep (Change d a) = D1 ('MetaData "Change" "Hix.Managed.Data.Diff" "hix-0.7.1-GF38grEMhDKjpxBMjWXGC" 'False) (C1 ('MetaCons "Changed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Diff d a))) :+: C1 ('MetaCons "Unchanged" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe a)))) |
type VersionChange = Change () Version Source #