Commit 91ec765e authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Eliminate local definition of utility

parent 7120daf8
......@@ -33,7 +33,7 @@ import Distribution.Client.PackageIndex (PackageIndex)
import Distribution.Package
( PackageName(..), PackageId, Package(..), packageVersion, packageName
, Dependency(Dependency), thisPackageVersion, notThisPackageVersion
, PackageFixedDeps(depends) )
, simplifyDependency, PackageFixedDeps(depends) )
import Distribution.PackageDescription
( PackageDescription(buildDepends) )
import Distribution.Client.PackageUtils
......@@ -756,9 +756,6 @@ displayVer = display . simplifyVersionRange
displayDep :: Dependency -> String
displayDep = display . simplifyDependency
simplifyDependency :: Dependency -> Dependency
simplifyDependency (Dependency name range) =
Dependency name (simplifyVersionRange range)
-- ------------------------------------------------------------
-- * Utils
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment