stack-0.1.10.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Types.Internal

Description

Internal types to the library.

Synopsis

Documentation

data Env config Source

Monadic environment.

Instances

HasHttpManager (Env config) Source 

Methods

getHttpManager :: Env config -> Manager

HasBuildConfig config => HasBuildConfig (Env config) Source 

Methods

getBuildConfig :: Env config -> BuildConfig Source

HasConfig config => HasConfig (Env config) Source 

Methods

getConfig :: Env config -> Config Source

HasGHCVariant config => HasGHCVariant (Env config) Source 

Methods

getGHCVariant :: Env config -> GHCVariant Source

HasPlatform config => HasPlatform (Env config) Source 
HasStackRoot config => HasStackRoot (Env config) Source 

Methods

getStackRoot :: Env config -> Path Abs Dir Source

HasEnvConfig config => HasEnvConfig (Env config) Source 

Methods

getEnvConfig :: Env config -> EnvConfig Source

HasSticky (Env config) Source 

Methods

getSticky :: Env config -> Sticky Source

HasSupportsUnicode (Env config) Source 

Methods

getSupportsUnicode :: Env config -> Bool Source

HasReExec (Env config) Source 

Methods

getReExec :: Env config -> Bool Source

HasTerminal (Env config) Source 

Methods

getTerminal :: Env config -> Bool Source

HasLogLevel (Env config) Source 

Methods

getLogLevel :: Env config -> LogLevel Source

Monad m => MonadReader (Env config) (StackT config m) 

Methods

ask :: StackT config m (Env config)

local :: (Env config -> Env config) -> StackT config m a -> StackT config m a

reader :: (Env config -> a) -> StackT config m a

class HasLogLevel r where Source

Methods

getLogLevel :: r -> LogLevel Source

class HasTerminal r where Source

Methods

getTerminal :: r -> Bool Source

Instances

HasTerminal (Env config) Source 

Methods

getTerminal :: Env config -> Bool Source

class HasReExec r where Source

Methods

getReExec :: r -> Bool Source

Instances

HasReExec (Env config) Source 

Methods

getReExec :: Env config -> Bool Source

class HasSupportsUnicode r where Source

Instances

newtype Sticky Source

Constructors

Sticky 

Fields

class HasSticky r where Source

Methods

getSticky :: r -> Sticky Source

Instances

HasSticky (Env config) Source 

Methods

getSticky :: Env config -> Sticky Source