Hoogle Search

Within LTS Haskell 24.42 (ghc-9.10.3)

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

  1. printSettingsGetDoubleWithDefault :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> Text -> Double -> m Double

    gi-gtk3 GI.Gtk.Objects.PrintSettings

    Returns the floating point number represented by the value that is associated with key, or defaultVal if the value does not represent a floating point number. Floating point numbers are parsed with asciiStrtod. Since: 2.10

  2. printSettingsGetIntWithDefault :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> Text -> Int32 -> m Int32

    gi-gtk3 GI.Gtk.Objects.PrintSettings

    Returns the value of key, interpreted as an integer, or the default value. Since: 2.10

  3. printSettingsGetDoubleWithDefault :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> Text -> Double -> m Double

    gi-gtk4 GI.Gtk.Objects.PrintSettings

    Returns the floating point number represented by the value that is associated with key, or defaultVal if the value does not represent a floating point number. Floating point numbers are parsed with asciiStrtod.

  4. printSettingsGetIntWithDefault :: (HasCallStack, MonadIO m, IsPrintSettings a) => a -> Text -> Int32 -> m Int32

    gi-gtk4 GI.Gtk.Objects.PrintSettings

    Returns the value of key, interpreted as an integer, or the default value.

  5. printSettingsGetDoubleWithDefault :: (PrintSettingsClass self, GlibString string) => self -> string -> Double -> IO Double

    gtk Graphics.UI.Gtk.Printing.PrintSettings

    Returns the floating point number represented by the value that is associated with key, or defaultVal if the value does not represent a floating point number. Floating point numbers are parsed with gAsciiStrtod.

  6. printSettingsGetIntWithDefault :: (PrintSettingsClass self, GlibString string) => self -> string -> Int -> IO Int

    gtk Graphics.UI.Gtk.Printing.PrintSettings

    Returns the value of key, interpreted as an integer, or the default value.

  7. compileFileWithDefault :: DefaultScope -> HeterocephalusSetting -> FilePath -> Q Exp

    heterocephalus Text.Heterocephalus

    Same as compileFile but we can specify default scope.

  8. compileFromStringWithDefault :: DefaultScope -> HeterocephalusSetting -> String -> Q Exp

    heterocephalus Text.Heterocephalus

    No documentation available.

  9. compileHtmlFileWithDefault :: FilePath -> DefaultScope -> Q Exp

    heterocephalus Text.Heterocephalus

    Same as compileHtmlFile but allows the user to specify default values for template parameters.

    >>> :set -XOverloadedStrings
    :{
    putStr $ renderMarkup (
    let as = ["<a>", "b"]
    in $(compileHtmlFileWithDefault "templates/sample.txt"
    [("as", [| ["foo", "bar"] |])]
    )
    )
    :}
    sample
    key: &lt;a&gt;,
    key: b,
    
    >>> :{
    putStr $ renderMarkup (
    $(compileHtmlFileWithDefault "templates/sample.txt"
    [("as", [| ["foo", "bar"] |])]
    )
    )
    :}
    sample
    key: foo,
    key: bar,
    

  10. compileTextFileWithDefault :: FilePath -> DefaultScope -> Q Exp

    heterocephalus Text.Heterocephalus

    Same as compileText but allows the user to specify default values for template parameters.

    >>> :set -XOverloadedStrings
    
    >>> :{
    putStr $ renderMarkup (
    let as = ["<a>", "b"]
    in $(compileTextFileWithDefault "templates/sample.txt"
    [("as", [| ["foo", "bar"] |])]
    )
    )
    :}
    sample
    key: <a>,
    key: b,
    
    >>> :{
    putStr $ renderMarkup (
    $(compileTextFileWithDefault "templates/sample.txt"
    [("as", [| ["foo", "bar"] |])]
    )
    )
    :}
    sample
    key: foo,
    key: bar,
    

Page 12 of many | Previous | Next