Improve assertions in `IntegrationTests2` `testConfigOptionComments`
[cabal.git] / Cabal-tree-diff / src / Data / TreeDiff / Instances / CabalVersion.hs
blob3c2ac454dded32b59971aae611d9a8f36667e136
1 {-# LANGUAGE CPP #-}
2 {-# OPTIONS_GHC -freduction-depth=0 #-}
3 {-# OPTIONS_GHC -fno-warn-orphans #-}
4 module Data.TreeDiff.Instances.CabalVersion where
6 import Data.TreeDiff
7 import Distribution.Version (Version, VersionRange, versionNumbers)
9 instance ToExpr Version where toExpr v = App "mkVersion" [toExpr $ versionNumbers v]
10 instance ToExpr VersionRange