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. lookupMaybe :: Text -> Form -> Either Text (Maybe Text)

    http-api-data Web.Internal.FormUrlEncoded

    Lookup an optional value for a key. Fail if there is more than one value.

    >>> lookupMaybe "name" []
    Right Nothing
    
    >>> lookupMaybe "name" [("name", "Oleg")]
    Right (Just "Oleg")
    
    >>> lookupMaybe "name" [("name", "Oleg"), ("name", "David")]
    Left "Duplicate key \"name\""
    

  2. lookupUnique :: Text -> Form -> Either Text Text

    http-api-data Web.Internal.FormUrlEncoded

    Lookup a unique value for a key. Fail if there is zero or more than one value.

    >>> lookupUnique "name" []
    Left "Could not find key \"name\""
    
    >>> lookupUnique "name" [("name", "Oleg")]
    Right "Oleg"
    
    >>> lookupUnique "name" [("name", "Oleg"), ("name", "David")]
    Left "Duplicate key \"name\""
    

  3. lookupBoundedEnumOf :: (Bounded a, Enum a, Eq b) => (a -> b) -> b -> Maybe a

    http-api-data Web.Internal.HttpApiData

    Lookup values based on a precalculated mapping of their representations.

  4. lookupAsc :: TrieSet v -> [Int] -> v

    regex-tdfa Text.Regex.TDFA.IntArrTrieSet

    This is the accessor for the Trie. The list of keys should be sorted.

  5. lookupAttr :: Name -> Element -> Maybe Text

    haskell-gi Data.GI.GIR.XMLUtils

    Lookup an attribute for an element (with no prefix).

  6. lookupAttrWithNamespace :: GIRXMLNamespace -> Name -> Element -> Maybe Text

    haskell-gi Data.GI.GIR.XMLUtils

    Lookup an attribute for an element, given the namespace where it lives.

  7. lookupBasicAuth :: MonadHandler m => m (Maybe (Text, Text))

    yesod-core Yesod.Core.Handler

    Lookup basic authentication data from Authorization header of request. Returns user name and password

  8. lookupBearerAuth :: MonadHandler m => m (Maybe Text)

    yesod-core Yesod.Core.Handler

    Lookup bearer authentication datafrom Authorization header of request. Returns bearer token value

  9. lookupCookie :: MonadHandler m => Text -> m (Maybe Text)

    yesod-core Yesod.Core.Handler

    Lookup for cookie data.

  10. lookupCookies :: MonadHandler m => Text -> m [Text]

    yesod-core Yesod.Core.Handler

    Lookup for cookie data.

Page 66 of many | Previous | Next