Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupJustDef :: Eq a => b -> a -> [(a, b)] -> berrors Control.Error No documentation available.
lookupIndex :: (HashTable h, Eq k, Hashable k) => h s k v -> k -> ST s (Maybe Word)hashtables Data.HashTable.Class Looks up the index of a key-value mapping in a hash table suitable for passing to nextByIndex.
lookupIndex :: (HashTable h, Eq k, Hashable k) => IOHashTable h k v -> k -> IO (Maybe Word)hashtables Data.HashTable.IO See the documentation for this function in lookupIndex.
lookupIndex :: (Hashable k, Eq k) => HashTable s k v -> k -> ST s (Maybe Word)hashtables Data.HashTable.ST.Cuckoo Find index of given key in the hashtable.
lookupAttr :: QName -> [Attr] -> Maybe Stringxml Text.XML.Light.Proc Lookup attribute name from list.
lookupAttrBy :: (QName -> Bool) -> [Attr] -> Maybe Stringxml Text.XML.Light.Proc Lookup the first attribute whose name satisfies the given predicate.
lookupCurveNameByOID :: OID -> Maybe CurveNamecrypton-x509 Data.X509.EC Return the curve name associated to an OID
-
diagrams-lib Diagrams.Names Lookup the most recent diagram associated with (some qualification of) the given name.
-
diagrams-lib Diagrams.Names Look for the given name in a name map, returning a list of subdiagrams associated with that name. If no names match the given name exactly, return all the subdiagrams associated with names of which the given name is a suffix.
lookupOf :: Eq k => Getting (Endo (Maybe v)) s (k, v) -> k -> s -> Maybe vdiagrams-lib Diagrams.Prelude The lookupOf function takes a Fold (or Getter, Traversal, Lens, Iso, etc.), a key, and a structure containing key/value pairs. It returns the first value corresponding to the given key. This function generalizes lookup to work on an arbitrary Fold instead of lists.
>>> lookupOf folded 4 [(2, 'a'), (4, 'b'), (4, 'c')] Just 'b'
>>> lookupOf each 2 [(2, 'a'), (4, 'b'), (4, 'c')] Just 'a'
lookupOf :: Eq k => Fold s (k,v) -> k -> s -> Maybe v