Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. type ProgArg = String

    Cabal Distribution.Simple.Program

    No documentation available.

  2. data Program

    Cabal Distribution.Simple.Program

    Represents a program which can be configured. Note: rather than constructing this directly, start with simpleProgram and override any extra fields.

  3. Program :: String -> (Verbosity -> ProgramSearchPath -> IO (Maybe (FilePath, [FilePath]))) -> (Verbosity -> FilePath -> IO (Maybe Version)) -> (Verbosity -> ConfiguredProgram -> IO ConfiguredProgram) -> (Maybe Version -> PackageDescription -> [String] -> [String]) -> Program

    Cabal Distribution.Simple.Program

    No documentation available.

  4. data ProgramDb

    Cabal Distribution.Simple.Program

    The configuration is a collection of information about programs. It contains information both about configured programs and also about programs that we are yet to configure. The idea is that we start from a collection of unconfigured programs and one by one we try to configure them at which point we move them into the configured collection. For unconfigured programs we record not just the Program but also any user-provided arguments and location for the program.

  5. data ProgramInvocation

    Cabal Distribution.Simple.Program

    Represents a specific invocation of a specific program. This is used as an intermediate type between deciding how to call a program and actually doing it. This provides the opportunity to the caller to adjust how the program will be called. These invocations can either be run directly or turned into shell or batch scripts.

  6. ProgramInvocation :: FilePath -> [String] -> [(String, Maybe String)] -> Maybe FilePath -> Maybe IOData -> IOEncoding -> IOEncoding -> ProgramInvocation

    Cabal Distribution.Simple.Program

    No documentation available.

  7. data ProgramLocation

    Cabal Distribution.Simple.Program

    Where a program was found. Also tells us whether it's specified by user or not. This includes not just the path, but the program as well.

  8. type ProgramSearchPath = [ProgramSearchPathEntry]

    Cabal Distribution.Simple.Program

    A search path to use when locating executables. This is analogous to the unix $PATH or win32 %PATH% but with the ability to use the system default method for finding executables (findExecutable which on unix is simply looking on the $PATH but on win32 is a bit more complicated). The default to use is [ProgSearchPathDefault] but you can add extra dirs either before, after or instead of the default, e.g. here we add an extra dir to search after the usual ones.

    ['ProgramSearchPathDefault', 'ProgramSearchPathDir' dir]
    
    We also use this path to set the environment when running child processes. The ProgramDb is created with a ProgramSearchPath to which we prependProgramSearchPath to add the ones that come from cli flags and from configurations. Then each of the programs that are configured in the db inherits the same path as part of configureProgram.

  9. ProgramSearchPathDefault :: ProgramSearchPathEntry

    Cabal Distribution.Simple.Program

    The system default

  10. ProgramSearchPathDir :: FilePath -> ProgramSearchPathEntry

    Cabal Distribution.Simple.Program

    A specific dir

Page 97 of many | Previous | Next