Hoogle Search

Within LTS Haskell 24.12 (ghc-9.10.3)

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

  1. Settings :: GhcNameVersion -> FileSettings -> Platform -> ToolSettings -> PlatformMisc -> [(String, String)] -> Settings

    ghc GHC.Settings

    No documentation available.

  2. data SettingsError

    ghc GHC.Settings.IO

    No documentation available.

  3. SettingsError_BadData :: String -> SettingsError

    ghc GHC.Settings.IO

    No documentation available.

  4. SettingsError_MissingData :: String -> SettingsError

    ghc GHC.Settings.IO

    No documentation available.

  5. module Distribution.Simple.Setup

    This module defines the command line interface for all the Cabal commands. For each command (like configure, build etc) it defines a type that holds all the flags, the default set of flags and a CommandUI that maps command line flags to and from the corresponding flags type. All the flags types are instances of Monoid, see http://www.haskell.org/pipermail/cabal-devel/2007-December/001509.html for an explanation. The types defined here get used in the front end and especially in cabal-install which has to do quite a bit of manipulating sets of command line flags. This is actually relatively nice, it works quite well. The main change it needs is to unify it with the code for managing sets of fields that can be read and written from files. This would allow us to save configure flags in config files.

  6. newtype SetupFunc resource

    sydtest Test.Syd

    A function that can provide a resource. You can think of this as a potentially-resource-aware version of 'IO resource'. In other words, it's like an 'IO resource' that can clean up after itself. This type has a monad instance, which means you can now compose setup functions using regular do-notation. This works together nicely with most supplier functions. Some examples:

    Note that these examples already have functions defined for them in sydtest companion libraries.

  7. SetupFunc :: (forall r . () => (resource -> IO r) -> IO r) -> SetupFunc resource

    sydtest Test.Syd

    No documentation available.

  8. module Test.Syd.Def.SetupFunc

    The SetupFunc abstraction makes resource provider functions (of type (a -> IO r) -> IO r) composable.

  9. newtype SetupFunc resource

    sydtest Test.Syd.Def.SetupFunc

    A function that can provide a resource. You can think of this as a potentially-resource-aware version of 'IO resource'. In other words, it's like an 'IO resource' that can clean up after itself. This type has a monad instance, which means you can now compose setup functions using regular do-notation. This works together nicely with most supplier functions. Some examples:

    Note that these examples already have functions defined for them in sydtest companion libraries.

  10. SetupFunc :: (forall r . () => (resource -> IO r) -> IO r) -> SetupFunc resource

    sydtest Test.Syd.Def.SetupFunc

    No documentation available.

Page 27 of many | Previous | Next