Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. lookupEnvEx :: (IsString a, MonadIO m, MonadThrow m) => String -> m a

    read-env-var System.ReadEnvVar

    Like lookupEnv, but instead of returning a Maybe, throw an EnvVarDoesNotExistException if the environment variable does not exist. The exception is thrown with throwM from MonadThrow. Lookup an environment variable that exists:

    >>> setEnv "TEST_ENV_VAR" "foo"
    
    >>> lookupEnvEx "TEST_ENV_VAR" :: IO String
    "foo"
    
    Lookup an environment variable that doesn't exist. Throws EnvVarDoesNotExistException.
    >>> lookupEnvEx "THIS_ENV_VAR_WILL_NOT_EXIST" :: IO String
    *** Exception: EnvVarDoesNotExistException "THIS_ENV_VAR_WILL_NOT_EXIST"
    

  2. lookupLF :: NodeId -> LayoutForest a -> Maybe (LayoutTree a)

    reflex-vty Reflex.Vty.Widget.Layout

    Perform a lookup by NodeId in a LayoutForest

  3. lookupByEmail :: IAuthBackend r => r -> Text -> IO (Maybe AuthUser)

    snap Snap.Snaplet.Auth

    No documentation available.

  4. lookupByLogin :: IAuthBackend r => r -> Text -> IO (Maybe AuthUser)

    snap Snap.Snaplet.Auth

    No documentation available.

  5. lookupByRememberToken :: IAuthBackend r => r -> Text -> IO (Maybe AuthUser)

    snap Snap.Snaplet.Auth

    No documentation available.

  6. lookupByUserId :: IAuthBackend r => r -> UserId -> IO (Maybe AuthUser)

    snap Snap.Snaplet.Auth

    No documentation available.

  7. lookupT :: Key -> PrefixTree a -> Maybe a

    tomland Toml.Type.PrefixTree

    Looks up the value at a key in the PrefixTree.

  8. lookupPrefixes :: Ord c => [c] -> TMap c a -> [([c], a)]

    trie-simple Data.Trie.Map

    lookupPrefixes xs tmap performs lookup for every prefixes of the input string xs and returns list of every pair of prefix and value exising in tmap.

    Example
    >>> let x = fromList [("ham", 1), ("bacon", 2), ("hamburger", 3)]
    
    >>> lookupPrefixes "hamburger and bacon" x
    [("ham",1),("hamburger",3)]
    

  9. lookupPrefix :: MonadPlus m => String -> Trie -> m Trie

    word-trie Data.Trie

    Takes a trie and a prefix and returns the sub-trie that of words with that prefix

  10. lookupBestMatch :: EventString -> [(EventString, a)] -> MatchResult a

    yi-keymap-vim Yi.Keymap.Vim.Common

    No documentation available.

Page 107 of many | Previous | Next