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. data ProgramSearchPathEntry

    Cabal Distribution.Simple.Program

    No documentation available.

  2. data ProgramDb

    Cabal Distribution.Simple.Program.Db

    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.

  3. type ProgramSearchPath = [ProgramSearchPathEntry]

    Cabal Distribution.Simple.Program.Find

    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.

  4. ProgramSearchPathDefault :: ProgramSearchPathEntry

    Cabal Distribution.Simple.Program.Find

    The system default

  5. ProgramSearchPathDir :: FilePath -> ProgramSearchPathEntry

    Cabal Distribution.Simple.Program.Find

    A specific dir

  6. data ProgramSearchPathEntry

    Cabal Distribution.Simple.Program.Find

    No documentation available.

  7. data ProgramInvocation

    Cabal Distribution.Simple.Program.Run

    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.

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

    Cabal Distribution.Simple.Program.Run

    No documentation available.

  9. type ProgArg = String

    Cabal Distribution.Simple.Program.Types

    No documentation available.

  10. data Program

    Cabal Distribution.Simple.Program.Types

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

Page 98 of many | Previous | Next