Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
91ec765e
Commit
91ec765e
authored
Mar 27, 2011
by
Duncan Coutts
Browse files
Eliminate local definition of utility
parent
7120daf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Dependency/TopDown.hs
View file @
91ec765e
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment