    module Distribution.Solver.Types.InstalledPreference
        ( InstalledPreference(..),
        ) where

    import Prelude (Show)

    -- | Whether we prefer an installed version of a package or simply the latest
    -- version.
    --
    data InstalledPreference = PreferInstalled | PreferLatest | PreferOldest
      deriving Int -> InstalledPreference -> ShowS
    [InstalledPreference] -> ShowS
    InstalledPreference -> String
    (Int -> InstalledPreference -> ShowS)
    -> (InstalledPreference -> String)
    -> ([InstalledPreference] -> ShowS)
    -> Show InstalledPreference
    forall a.
    (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
    $cshowsPrec :: Int -> InstalledPreference -> ShowS
    showsPrec :: Int -> InstalledPreference -> ShowS
    $cshow :: InstalledPreference -> String
    show :: InstalledPreference -> String
    $cshowList :: [InstalledPreference] -> ShowS
    showList :: [InstalledPreference] -> ShowS
    Show