Hoogle Search
Within LTS Haskell 24.60 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type family
Lookup (a :: k) (d :: [(k, Type)])type-map Data.TypeMap.Internal.Unsafe Type associated with a in d. If the key a occurs multiple times, the first one is used.
type family
Lookup (a :: k) (d :: [(k, Type)])type-map Data.TypeMap.Static Type associated with a in d. If the key a occurs multiple times, the first one is used.
module Gogol.Datastore.Projects.
Lookup Looks up entities by key. See: Cloud Datastore API Reference for datastore.projects.lookup.
module Gogol.TagManager.Accounts.Containers.
Lookup Looks up a Container by destination ID or tag ID. See: Tag Manager API Reference for tagmanager.accounts.containers.lookup.
module Data.BTree.Impure.Internal.
Lookup Algorithms related to looking up key-value pairs in an impure B+-tree.
class
Lookup (xs :: [Assoc k v]) (k1 :: k) (v1 :: v) | k1 xs -> v1membership Type.Membership Lookup xs k v is essentially identical to (k :> v) ∈ xs , but the type v is inferred from k and xs.
class
Lookup (xs :: [Assoc k v]) (k1 :: k) (v1 :: v) | k1 xs -> v1membership Type.Membership.Internal Lookup xs k v is essentially identical to (k :> v) ∈ xs , but the type v is inferred from k and xs.
lookupEnv :: String -> IO (Maybe String)base System.Environment Return the value of the environment variable var, or Nothing if there is no such value. For POSIX users, this is equivalent to getEnv.
lookupGE :: Key -> IntMap a -> Maybe (Key, a)containers Data.IntMap.Internal Find smallest key greater or equal to the given one and return the corresponding (key, value) pair.
lookupGE 3 (fromList [(3,'a'), (5,'b')]) == Just (3, 'a') lookupGE 4 (fromList [(3,'a'), (5,'b')]) == Just (5, 'b') lookupGE 6 (fromList [(3,'a'), (5,'b')]) == Nothing
lookupGT :: Key -> IntMap a -> Maybe (Key, a)containers Data.IntMap.Internal Find smallest key greater than the given one and return the corresponding (key, value) pair.
lookupGT 4 (fromList [(3,'a'), (5,'b')]) == Just (5, 'b') lookupGT 5 (fromList [(3,'a'), (5,'b')]) == Nothing