Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getCompilerVersion :: (MonadLogger m, MonadCatch m, MonadBaseControl IO m, MonadIO m) => EnvOverride -> WhichCompiler -> m CompilerVersion
- markInstalled :: (MonadIO m, MonadReader env m, HasConfig env, MonadThrow m) => Path Abs Dir -> Tool -> m ()
- unmarkInstalled :: (MonadIO m, MonadReader env m, HasConfig env, MonadCatch m) => Path Abs Dir -> Tool -> m ()
- listInstalled :: (MonadIO m, MonadReader env m, HasConfig env, MonadThrow m) => Path Abs Dir -> m [Tool]
- data Tool
- toolString :: Tool -> String
- toolNameString :: Tool -> String
- parseToolText :: Text -> Maybe Tool
- data ExtraDirs = ExtraDirs {}
- extraDirs :: (MonadReader env m, HasConfig env, MonadThrow m, MonadLogger m) => Tool -> m ExtraDirs
- installDir :: (MonadReader env m, HasConfig env, MonadThrow m, MonadLogger m) => Path Abs Dir -> Tool -> m (Path Abs Dir)
Documentation
getCompilerVersion :: (MonadLogger m, MonadCatch m, MonadBaseControl IO m, MonadIO m) => EnvOverride -> WhichCompiler -> m CompilerVersion Source
markInstalled :: (MonadIO m, MonadReader env m, HasConfig env, MonadThrow m) => Path Abs Dir -> Tool -> m () Source
unmarkInstalled :: (MonadIO m, MonadReader env m, HasConfig env, MonadCatch m) => Path Abs Dir -> Tool -> m () Source
listInstalled :: (MonadIO m, MonadReader env m, HasConfig env, MonadThrow m) => Path Abs Dir -> m [Tool] Source
Tool PackageIdentifier | e.g. ghc-7.8.4, msys2-20150512 |
ToolGhcjs CompilerVersion | e.g. ghcjs-0.1.0_ghc-7.10.2 |
toolString :: Tool -> String Source
toolNameString :: Tool -> String Source
parseToolText :: Text -> Maybe Tool Source
extraDirs :: (MonadReader env m, HasConfig env, MonadThrow m, MonadLogger m) => Tool -> m ExtraDirs Source
Binary directories for the given installed package
installDir :: (MonadReader env m, HasConfig env, MonadThrow m, MonadLogger m) => Path Abs Dir -> Tool -> m (Path Abs Dir) Source