Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/268643b51ad363807bf5c60d16d52403dce4dc0e

>---------------------------------------------------------------

commit 268643b51ad363807bf5c60d16d52403dce4dc0e
Author: Andres Loeh <[email protected]>
Date:   Sun Jun 5 11:03:41 2011 +0000

    reordering

>---------------------------------------------------------------

 .../Distribution/Client/Dependency/Types.hs        |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/cabal-install/Distribution/Client/Dependency/Types.hs 
b/cabal-install/Distribution/Client/Dependency/Types.hs
index dd31c4d..16c5b85 100644
--- a/cabal-install/Distribution/Client/Dependency/Types.hs
+++ b/cabal-install/Distribution/Client/Dependency/Types.hs
@@ -82,6 +82,11 @@ data PackageConstraint
 --
 data PackagePreferences = PackagePreferences VersionRange InstalledPreference
 
+-- | Wether we prefer an installed version of a package or simply the latest
+-- version.
+--
+data InstalledPreference = PreferInstalled | PreferLatest
+
 -- | Global policy for all packages to say if we prefer package versions that
 -- are already installed locally or if we just prefer the latest available.
 --
@@ -106,11 +111,6 @@ data PackagesPreferenceDefault =
      --
    | PreferLatestForSelected
 
--- | Wether we prefer an installed version of a package or simply the latest
--- version.

>---------------------------------------------------------------

-data InstalledPreference = PreferInstalled | PreferLatest
-
 -- | A type to represent the unfolding of an expensive long running
 -- calculation that may fail. We may get intermediate steps before the final
 -- retult which may be used to indicate progress and\/or logging messages.



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to