Safe Haskell | None |
---|---|
Language | Haskell98 |
- stack :: [String] -> GhcM String
- yaml :: Maybe FilePath -> [String]
- path :: Maybe FilePath -> GhcM PathsConf
- pathOf :: String -> Lens' PathsConf (Maybe FilePath)
- build :: [String] -> Maybe FilePath -> GhcM ()
- buildDeps :: Maybe FilePath -> GhcM ()
- data StackEnv = StackEnv {}
- stackRoot :: Lens' StackEnv FilePath
- stackProject :: Lens' StackEnv FilePath
- stackConfig :: Lens' StackEnv FilePath
- stackGhc :: Lens' StackEnv FilePath
- stackSnapshot :: Lens' StackEnv FilePath
- stackLocal :: Lens' StackEnv FilePath
- getStackEnv :: PathsConf -> Maybe StackEnv
- projectEnv :: FilePath -> GhcM StackEnv
- stackPackageDbStack :: Lens' StackEnv PackageDbStack
- stackCompiler :: GhcM String
- stackArch :: String
- newtype MaybeT (m :: * -> *) a :: (* -> *) -> * -> * = MaybeT {}
Documentation
stack :: [String] -> GhcM String Source #
Invoke stack command, we are trying to get actual stack near current hsdev executable
getStackEnv :: PathsConf -> Maybe StackEnv Source #
stackPackageDbStack :: Lens' StackEnv PackageDbStack Source #
Get package-db stack for stack environment
stackCompiler :: GhcM String Source #
Get compiler version
newtype MaybeT (m :: * -> *) a :: (* -> *) -> * -> * #
The parameterizable maybe monad, obtained by composing an arbitrary
monad with the Maybe
monad.
Computations are actions that may produce a value or exit.
The return
function yields a computation that produces that
value, while >>=
sequences two subcomputations, exiting if either
computation does.