Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. 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.

  2. 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.

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

    heterocephalus Text.Heterocephalus

    Same as compileFile but we can specify default scope.

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

    heterocephalus Text.Heterocephalus

    No documentation available.

  5. 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,
    

  6. 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,
    

  7. compileWithDefault :: DefaultScope -> HeterocephalusSetting -> QuasiQuoter

    heterocephalus Text.Heterocephalus

    QuasiQuoter.

  8. sqlSetListWithDefaults :: (MonadState SqlInsert m, Show a, ToSQL a) => SQL -> [Maybe a] -> m ()

    hpqtypes-extras Database.PostgreSQL.PQTypes.SQL.Builder

    No documentation available.

  9. xpWithDefault :: a -> PU t a -> PU t a

    xml-picklers Data.XML.Pickle

    Attempt to use a pickler. Return a default value when the pickler doesn't return anything (doesn't touch on UnpickleError). Unlike xpDefault, the default value is encoded in the XML document.

  10. bareNameWithDefault :: (LensNamed a, NameOf a ~ NamedName) => ArgName -> a -> ArgName

    Agda Agda.Syntax.Common

    No documentation available.

Page 12 of many | Previous | Next