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. lookupWithDefault :: ByteString -> CI ByteString -> Headers -> ByteString

    snap-core Snap.Types.Headers

    Look up the value of a given HTTP header field or return the provided default value when that header field is not present. Example:

    ghci> :set -XOverloadedStrings
    ghci> let hdrs = H.fromList [("Host", "localhost")]
    ghci> H.lookupWithDefault "host" "127.0.0.1" $ hdrs
    "localhost"
    ghci> H.lookupWithDefault "Accept" "text/plain" $ hdrs
    "text/plain"
    

  2. lookupMode :: AnyMode -> YiM AnyMode

    yi-core Yi.Mode.Common

    Check whether a mode of the same name is already in modeTable and returns the original mode, if it isn't the case.

  3. lookupTag :: Tag -> TagTable -> [(FilePath, Int)]

    yi-core Yi.Tag

    Find the location of a tag using the tag table. Returns a full path and line number

  4. lookupEnv :: PandocMonad m => Text -> m (Maybe Text)

    pandoc Text.Pandoc.Class

    Lookup an environment variable.

  5. lookupEnv :: MonadIO m => Text -> m (Maybe Text)

    pandoc Text.Pandoc.Class.IO

    Lookup an environment variable in the programs environment.

  6. lookupHighlightingStyle :: PandocMonad m => String -> m Style

    pandoc Text.Pandoc.Highlighting

    Lookup style from a name. If the name is a standard style, load it; if it ends in ".theme", attempt to load a KDE theme from the file path specified.

  7. lookupMedia :: FilePath -> MediaBag -> Maybe MediaItem

    pandoc Text.Pandoc.MediaBag

    Lookup a media item in a MediaBag, returning mime type and contents.

  8. lookupTerm :: Term -> Translations -> Maybe Text

    pandoc Text.Pandoc.Translations.Types

    Lookup a term in a Translations.

  9. lookupMetaBlocks :: Text -> Meta -> [Block]

    pandoc Text.Pandoc.Writers.Shared

    Retrieve the metadata value for a given key and extract blocks.

  10. lookupMetaBool :: Text -> Meta -> Bool

    pandoc Text.Pandoc.Writers.Shared

    Retrieve the metadata value for a given key and convert to Bool.

Page 73 of many | Previous | Next