Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. setPrintCompositorPrintLineNumbers :: (MonadIO m, IsPrintCompositor o) => o -> Word32 -> m ()

    gi-gtksource5 GI.GtkSource.Objects.PrintCompositor

    Set the value of the “print-line-numbers” property. When overloading is enabled, this is equivalent to

    set printCompositor [ #printLineNumbers := value ]
    

  2. setPrintCompositorTabWidth :: (MonadIO m, IsPrintCompositor o) => o -> Word32 -> m ()

    gi-gtksource5 GI.GtkSource.Objects.PrintCompositor

    Set the value of the “tab-width” property. When overloading is enabled, this is equivalent to

    set printCompositor [ #tabWidth := value ]
    

  3. setPrintCompositorWrapMode :: (MonadIO m, IsPrintCompositor o) => o -> WrapMode -> m ()

    gi-gtksource5 GI.GtkSource.Objects.PrintCompositor

    Set the value of the “wrap-mode” property. When overloading is enabled, this is equivalent to

    set printCompositor [ #wrapMode := value ]
    

  4. toPrintCompositor :: (MonadIO m, IsPrintCompositor o) => o -> m PrintCompositor

    gi-gtksource5 GI.GtkSource.Objects.PrintCompositor

    Cast to PrintCompositor, for types for which this is known to be safe. For general casts, use castTo.

  5. type C_LoggerPrinter = Ptr Logger -> CUInt -> Int8 -> CString -> Ptr () -> IO ()

    gi-soup3 GI.Soup.Callbacks

    Type for the callback on the (unwrapped) C side.

  6. type LoggerPrinter = Logger -> LoggerLogLevel -> Int8 -> Text -> IO ()

    gi-soup3 GI.Soup.Callbacks

    The prototype for a custom printing callback. level indicates what kind of information is being printed. Eg, it will be LoggerLogLevelHeaders if data is header data. direction is either '<', '>', or ' ', and data is the single line to print; the printer is expected to add a terminating newline. To get the effect of the default printer, you would do:

    c code

    printf ("%c %s\n", direction, data);
    

  7. type LoggerPrinter_WithClosures = Logger -> LoggerLogLevel -> Int8 -> Text -> Ptr () -> IO ()

    gi-soup3 GI.Soup.Callbacks

    The prototype for a custom printing callback. level indicates what kind of information is being printed. Eg, it will be LoggerLogLevelHeaders if data is header data. direction is either '<', '>', or ' ', and data is the single line to print; the printer is expected to add a terminating newline. To get the effect of the default printer, you would do:

    c code

    printf ("%c %s\n", direction, data);
    

  8. drop_closures_LoggerPrinter :: LoggerPrinter -> LoggerPrinter_WithClosures

    gi-soup3 GI.Soup.Callbacks

    A simple wrapper that ignores the closure arguments.

  9. dynamic_LoggerPrinter :: (HasCallStack, MonadIO m, IsLogger a) => FunPtr C_LoggerPrinter -> a -> LoggerLogLevel -> Int8 -> Text -> Ptr () -> m ()

    gi-soup3 GI.Soup.Callbacks

    Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

  10. genClosure_LoggerPrinter :: MonadIO m => LoggerPrinter -> m (GClosure C_LoggerPrinter)

    gi-soup3 GI.Soup.Callbacks

    Wrap the callback into a GClosure.

Page 291 of many | Previous | Next