stack-3.1.1: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.Dependency

Synopsis

Documentation

data DepValue Source #

The value for a map from dependency name. This contains both the version range and the type of dependency.

Constructors

DepValue 

Instances

Instances details
Show DepValue Source # 
Instance details

Defined in Stack.Types.Dependency

Methods

showsPrec :: Int -> DepValue -> ShowS #

show :: DepValue -> String #

showList :: [DepValue] -> ShowS #

data DepType Source #

Is this package being used as a library, or just as a build tool? If the former, we need to ensure that a library actually exists. See https://github.com/commercialhaskell/stack/issues/2195

Instances

Instances details
Show DepType Source # 
Instance details

Defined in Stack.Types.Dependency

Methods

showsPrec :: Int -> DepType -> ShowS #

show :: DepType -> String #

showList :: [DepType] -> ShowS #

Eq DepType Source # 
Instance details

Defined in Stack.Types.Dependency

Methods

(==) :: DepType -> DepType -> Bool #

(/=) :: DepType -> DepType -> Bool #

data DepLibrary Source #

Constructors

DepLibrary 

Instances

Instances details
Show DepLibrary Source # 
Instance details

Defined in Stack.Types.Dependency

Methods

showsPrec :: Int -> DepLibrary -> ShowS #

show :: DepLibrary -> String #

showList :: [DepLibrary] -> ShowS #

Eq DepLibrary Source # 
Instance details

Defined in Stack.Types.Dependency

cabalToStackDep :: Dependency -> DepValue Source #

cabalExeToStackDep :: ExeDependency -> DepValue Source #