2 {-# OPTIONS_GHC -freduction-depth=0 #-}
3 {-# OPTIONS_GHC -fno-warn-orphans #-}
4 module Data
.TreeDiff
.Instances
.CabalSPDX
() where
7 import Distribution
.License
(License
)
9 import Data
.TreeDiff
.Instances
.CabalVersion
()
11 import qualified Distribution
.SPDX
as SPDX
13 -- 'License' almost belongs here.
15 instance ToExpr License
17 -- Generics instance is too heavy
18 instance ToExpr SPDX
.LicenseId
where toExpr
= defaultExprViaShow
19 instance ToExpr SPDX
.LicenseExceptionId
where toExpr
= defaultExprViaShow
21 instance ToExpr SPDX
.License
22 instance ToExpr SPDX
.LicenseExpression
23 instance ToExpr SPDX
.LicenseRef
24 instance ToExpr SPDX
.SimpleLicenseExpression