Merge pull request #10525 from 9999years/field-stanza-names
[cabal.git] / cabal-install / tests / UnitTests / Distribution / Client / TreeDiffInstances.hs
blobda9bd8ad90dc9b095b2a3fd5d8c84fa006fd66e6
1 {-# LANGUAGE FlexibleInstances #-}
2 {-# LANGUAGE UndecidableInstances #-}
3 {-# OPTIONS_GHC -fno-warn-orphans #-}
5 module UnitTests.Distribution.Client.TreeDiffInstances () where
7 import Distribution.Solver.Types.ConstraintSource
8 import Distribution.Solver.Types.OptionalStanza
9 import Distribution.Solver.Types.PackageConstraint
10 import Distribution.Solver.Types.ProjectConfigPath
11 import Distribution.Solver.Types.Settings
13 import Distribution.Client.BuildReports.Types
14 import Distribution.Client.CmdInstall.ClientInstallFlags
15 import Distribution.Client.Dependency.Types
16 import Distribution.Client.IndexUtils.ActiveRepos
17 import Distribution.Client.IndexUtils.IndexState
18 import Distribution.Client.IndexUtils.Timestamp
19 import Distribution.Client.ProjectConfig.Types
20 import Distribution.Client.Targets
21 import Distribution.Client.Types
22 import Distribution.Client.Types.OverwritePolicy (OverwritePolicy)
23 import Distribution.Client.Types.SourceRepo (SourceRepositoryPackage)
25 import Distribution.Simple.Compiler (PackageDBX)
27 import Data.TreeDiff.Class
28 import Data.TreeDiff.Instances.Cabal ()
29 import Network.URI
31 instance (ToExpr k, ToExpr v) => ToExpr (MapMappend k v)
32 instance (ToExpr k, ToExpr v) => ToExpr (MapLast k v)
34 instance ToExpr (f FilePath) => ToExpr (SourceRepositoryPackage f)
36 instance ToExpr ActiveRepoEntry
37 instance ToExpr ActiveRepos
38 instance ToExpr AllowBootLibInstalls
39 instance ToExpr AllowNewer
40 instance ToExpr AllowOlder
41 instance ToExpr BuildReport
42 instance ToExpr ClientInstallFlags
43 instance ToExpr CombineStrategy
44 instance ToExpr ProjectConfigPath
45 instance ToExpr ConstraintSource
46 instance ToExpr CountConflicts
47 instance ToExpr FineGrainedConflicts
48 instance ToExpr IndependentGoals
49 instance ToExpr InstallMethod
50 instance ToExpr InstallOutcome
51 instance ToExpr LocalRepo
52 instance ToExpr MinimizeConflictSet
53 instance ToExpr OnlyConstrained
54 instance ToExpr OptionalStanza
55 instance ToExpr Outcome
56 instance ToExpr OverwritePolicy
57 instance ToExpr PackageConfig
58 instance ToExpr (PackageDBX FilePath)
59 instance ToExpr PackageProperty
60 instance ToExpr PreferOldest
61 instance ToExpr PreSolver
62 instance ToExpr ProjectConfig
63 instance ToExpr ProjectConfigBuildOnly
64 instance ToExpr ProjectConfigProvenance
65 instance ToExpr ProjectConfigShared
66 instance ToExpr RelaxDepMod
67 instance ToExpr RelaxDeps
68 instance ToExpr RelaxDepScope
69 instance ToExpr RelaxDepSubject
70 instance ToExpr RelaxedDep
71 instance ToExpr RemoteRepo
72 instance ToExpr ReorderGoals
73 instance ToExpr RepoIndexState
74 instance ToExpr RepoName
75 instance ToExpr ReportLevel
76 instance ToExpr StrongFlags
77 instance ToExpr Timestamp
78 instance ToExpr TotalIndexState
79 instance ToExpr UserConstraint
80 instance ToExpr UserConstraintScope
81 instance ToExpr UserQualifier
82 instance ToExpr WriteGhcEnvironmentFilesPolicy
84 instance ToExpr URI
85 instance ToExpr URIAuth