| Haskell Hierarchical Libraries (Cabal package) | Source code | Contents | Index

Distribution.Simple.Configure

Portability | portable
Stability | alpha
Maintainer | Isaac Jones <ijones@syntaxpolice.org>

Description
Explanation: Perform the "`./setup configure`" action. Outputs the `.setup-config` file.
Synopsis

writePersistBuildConfig :: LocalBuildInfo -> IO ()
getPersistBuildConfig :: IO LocalBuildInfo
maybeGetPersistBuildConfig :: IO (Maybe LocalBuildInfo)
configure :: PackageDescription -> ConfigFlags -> IO LocalBuildInfo
localBuildInfoFile :: FilePath
findProgram :: String -> Maybe FilePath -> IO (Maybe FilePath)
getInstalledPackages :: Compiler -> Bool -> Int -> IO [PackageIdentifier]
configDependency :: [PackageIdentifier] -> Dependency -> IO PackageIdentifier
configCompiler :: Maybe CompilerFlavor -> Maybe FilePath -> Maybe FilePath -> Int -> IO Compiler
configCompilerAux :: ConfigFlags -> IO Compiler

Documentation
writePersistBuildConfig :: LocalBuildInfo -> IO ()
getPersistBuildConfig :: IO LocalBuildInfo
maybeGetPersistBuildConfig :: IO (Maybe LocalBuildInfo)
configure :: PackageDescription -> ConfigFlags -> IO LocalBuildInfo
localBuildInfoFile :: FilePath
findProgram

:: String | program name
-> Maybe FilePath | optional explicit path
-> IO (Maybe FilePath) |
Return the explicit path if given, otherwise look for the program name in the path.

getInstalledPackages :: Compiler -> Bool -> Int -> IO [PackageIdentifier]
configDependency :: [PackageIdentifier] -> Dependency -> IO PackageIdentifier
Test for a package dependency and record the version we have installed.
configCompiler :: Maybe CompilerFlavor -> Maybe FilePath -> Maybe FilePath -> Int -> IO Compiler
configCompilerAux :: ConfigFlags -> IO Compiler
Produced by Haddock version 0.8