Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. lookupDefault :: Configured a => a -> Config -> Name -> IO a

    configurator Data.Configurator

    Look up a name in the given Config. If a binding exists, and the value can be converted to the desired type, return it, otherwise return the default value.

  2. lookupContext :: FromContext a b => Text -> Context a -> Maybe b

    doctemplates Text.DocTemplates

    No documentation available.

  3. lookupContext :: FromContext a b => Text -> Context a -> Maybe b

    doctemplates Text.DocTemplates.Internal

    No documentation available.

  4. lookupComparison :: String -> TypeRep -> [Expr] -> Maybe Expr

    express Data.Express

    O(n). Lookups for a comparison function (:: a -> a -> Bool) with the given name and argument type.

  5. lookupName :: [Expr] -> Expr -> String

    express Data.Express

    O(n+m). Like name but lifted over an instance list and an Expr.

    > lookupName preludeNameInstances (val False)
    "p"
    
    > lookupName preludeNameInstances (val (0::Int))
    "x"
    
    This function defaults to "x" when no appropriate name is found.
    > lookupName [] (val False)
    "x"
    

  6. lookupNames :: [Expr] -> Expr -> [String]

    express Data.Express

    O(n+m). A mix between lookupName and names: this returns an infinite list of names based on an instances list and an Expr.

  7. lookupComparison :: String -> TypeRep -> [Expr] -> Maybe Expr

    express Data.Express.Instances

    O(n). Lookups for a comparison function (:: a -> a -> Bool) with the given name and argument type.

  8. lookupName :: [Expr] -> Expr -> String

    express Data.Express.Instances

    O(n+m). Like name but lifted over an instance list and an Expr.

    > lookupName preludeNameInstances (val False)
    "p"
    
    > lookupName preludeNameInstances (val (0::Int))
    "x"
    
    This function defaults to "x" when no appropriate name is found.
    > lookupName [] (val False)
    "x"
    

  9. lookupNames :: [Expr] -> Expr -> [String]

    express Data.Express.Instances

    O(n+m). A mix between lookupName and names: this returns an infinite list of names based on an instances list and an Expr.

  10. lookupId :: Eq a => a -> [(a, a)] -> a

    express Data.Express.Utils.List

    O(n). Like lookup but returns the key itself if nothing is found.

    > lookupId 5 [(1,2),(3,4)]
    5
    
    > lookupId 5 [(1,2),(3,4),(5,6)]
    6
    

Page 96 of many | Previous | Next