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. lookup_ :: forall be (db :: (Type -> Type) -> Type) table . (Database be db, Table table, BeamSqlBackend be, HasQBuilder be, SqlValableTable be (PrimaryKey table), HasTableEquality be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> PrimaryKey table Identity -> SqlSelect be (table Identity)

    beam-core Database.Beam.Query

    Convenience function to generate a SqlSelect that looks up a table row given a primary key.

  2. lookupEntity :: Text -> Maybe Text

    commonmark Commonmark.Entity

    Lookup an entity, using lookupNumericEntity if it starts with # and lookupNamedEntity otherwise

  3. lookupReference :: Typeable a => Text -> ReferenceMap -> Maybe a

    commonmark Commonmark.ReferenceMap

    Lookup a reference in a reference map. If there are several values at this key, we return the first one in the list that can be converted to an a.

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

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

    doctemplates Text.DocTemplates

    No documentation available.

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

    doctemplates Text.DocTemplates.Internal

    No documentation available.

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

  8. 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"
    

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

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

Page 95 of many | Previous | Next