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. lookupEvent :: Query -> Maybe (Event Text Text)

    hyperbole Web.Hyperbole.Effect.Event

    No documentation available.

  2. lookupParam :: ByteString -> Query -> Maybe Text

    hyperbole Web.Hyperbole.Effect.Event

    Lower-level lookup straight from the request

  3. lookupParam :: forall a (es :: [Effect]) . (FromParam a, Hyperbole :> es) => Param -> Eff es (Maybe a)

    hyperbole Web.Hyperbole.Effect.Query

    Parse a single parameter from the query string if available

  4. lookupSession :: forall a (es :: [Effect]) . (Session a, FromParam a, Hyperbole :> es) => Eff es (Maybe a)

    hyperbole Web.Hyperbole.Effect.Session

    Return a session if it exists

  5. lookupConstraintsList :: VarRef -> TMonad [Constraint]

    jmacro Language.Javascript.JMacro.TypeCheck

    No documentation available.

  6. lookupEnv :: Ident -> TMonad JType

    jmacro Language.Javascript.JMacro.TypeCheck

    No documentation available.

  7. lookupGE :: Ord k => k -> Map ph k v -> Maybe (Key ph k, v)

    justified-containers Data.Map.Justified

    O(log n). Find the smallest key greater than or equal to the given one and return the corresponding (key,value) pair, with evidence for the key.

    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupGE 3 table == Just (Key 3, 'a')
    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupGE 4 table == Just (Key 5, 'b')
    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupGE 6 table == Nothing
    

  8. lookupGT :: Ord k => k -> Map ph k v -> Maybe (Key ph k, v)

    justified-containers Data.Map.Justified

    O(log n). Find the smallest key greater than the given one and return the corresponding (key,value) pair, with evidence for the key.

    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupGT 4 table == Just (Key 5, 'b')
    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupGT 5 table == Nothing
    

  9. lookupLE :: Ord k => k -> Map ph k v -> Maybe (Key ph k, v)

    justified-containers Data.Map.Justified

    O(log n). Find the largest key smaller than or equal to the given one and return the corresponding (key,value) pair, with evidence for the key.

    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupLE 2 table == Nothing
    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupLE 4 table == Just (Key 3, 'a')
    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupLE 5 table == Just (Key 5, 'b')
    

  10. lookupLT :: Ord k => k -> Map ph k v -> Maybe (Key ph k, v)

    justified-containers Data.Map.Justified

    O(log n). Find the largest key smaller than the given one and return the corresponding (key,value) pair, with evidence for the key.

    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupLT 3 table == Nothing
    withMap (M.fromList [(3,'a'), (5,'b')]) $ \table -> lookupLT 4 table == Just (Key 3, 'a')
    

Page 98 of many | Previous | Next