Hoogle Search

Within LTS Haskell 24.25 (ghc-9.10.3)

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

  1. modeHelpSuffix :: Mode a -> [String]

    cmdargs System.Console.CmdArgs.Explicit

    A longer help suffix displayed after a mode

  2. fixDepth :: forall (m :: Type -> Type) a . Series m a -> Series m (Series m a)

    smallcheck Test.SmallCheck.Series

    Fix the depth of a series at the current level. The resulting series will no longer depend on the "ambient" depth.

  3. fixupCallerAllocates :: Callable -> Callable

    haskell-gi Data.GI.CodeGen.Callable

    caller-allocates arguments are arguments that the caller allocates, and the called function modifies. They are marked as out argumens in the introspection data, we sometimes treat them as inout arguments instead. The semantics are somewhat tricky: for memory management purposes they should be treated as "in" arguments, but from the point of view of the exposed API they should be treated as "out" or "inout". Unfortunately we cannot always just assume that they are purely "out", so in many cases the generated API is somewhat suboptimal (since the initial values are not important): for example for g_io_channel_read_chars the size of the buffer to read is determined by the caller-allocates argument. As a compromise, we assume that we can allocate anything that is not a TCArray of length determined by an argument.

  4. module Data.GI.CodeGen.Fixups

    Various fixups in the introspection data.

  5. fixCallbackUserData :: (Name, API) -> (Name, API)

    haskell-gi Data.GI.CodeGen.Fixups

    The last argument of callbacks is often a user_data argument, but currently gobject-introspection does not have an annotation representing this. This is generally OK, since the gir generator will mark these arguments as (closure) if they are named user_data, and we do the right things in this case, but recently there has been a push to "fix" these annotations by removing them without providing any replacement, which breaks the bindings. See https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/450 Here we try to guess which arguments in callbacks are user_data arguments.

  6. fixClosures :: (Name, API) -> (Name, API)

    haskell-gi Data.GI.CodeGen.Fixups

    Closures are often incorrectly assigned, with the closure annotation on the callback, instead of in the closure (user_data) parameter itself. The following makes sure that things are as they should.

  7. fixSymbolNaming :: (Name, API) -> (Name, API)

    haskell-gi Data.GI.CodeGen.Fixups

    Some symbols have names that are not valid Haskell identifiers, fix that here.

  8. fixAPIStructs :: (Name, API) -> (Name, API)

    haskell-gi Data.GI.CodeGen.Struct

    Fix the interface names of callback fields in an APIStruct to correspond to the ones that we are going to generate. If something other than an APIStruct is passed in we don't touch it.

  9. prefixTime :: FormattedTime -> FilePath -> FilePath

    fast-logger System.Log.FastLogger.File

    Prefix file name with formatted time

  10. KeySizeFixed :: Int -> KeySizeSpecifier

    cryptonite Crypto.Cipher.Types

    a specific size

Page 99 of many | Previous | Next