Hoogle Search
Within LTS Haskell 24.61 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupEdge :: (Edge e, Ord n) => e n -> Graph e n el nl -> Maybe elcomfort-graph Data.Graph.Comfort \(GraphAndEdge gr e) -> Graph.lookupEdge e gr === Map.lookup e (Graph.edgeLabels gr)
lookupNode :: forall n (e :: Type -> Type) el nl . Ord n => n -> Graph e n el nl -> Maybe nlcomfort-graph Data.Graph.Comfort \(TestGraph gr) n -> Graph.lookupNode n gr === Map.lookup n (Graph.nodeLabels gr)
lookupOrdered :: FromField a => NamedRecordOrdered -> ByteString -> Parser acsv-conduit Data.CSV.Conduit.Conversion No documentation available.
-
expiring-cache-map Caching.ExpiringCacheMap.HashECM Request a value associated with a key from the cache.
- If the value is not in the cache, the value will be requested through the function defined when the ECM value was created, its computation returned and the value stored in the cache state map.
- If the value is in the cache and has not expired, it will be returned.
- If the value is in the cache and a new time is computed in the same lookup, and the value has been determined to have since expired, it will be discarded and a new value will be requested for this computation.
- When a new key-value entry is requested, the current time is also requested during the same lookup, as a recent time determination is needed for a new entry in the key-value cache.
- When the modulo of the accumulator and a specified value equals to 0.
-
expiring-cache-map Caching.ExpiringCacheMap.OrdECM Request a value associated with a key from the cache.
- If the value is not in the cache, it will be requested through the function defined through newECM, its computation returned and the value stored in the cache state map.
- If the value is in the cache and has not expired, it will be returned.
- If the value is in the cache and a new time is computed in the same lookup, and the value has been determined to have since expired, it will be discarded and a new value will be requested for this computation.
- When a new key-value entry is requested, the current time is also requested during the same lookup, as a recent time determination is needed for a new entry in the key-value cache.
- When the modulo of the accumulator and a specified value equals to 0.
lookupTFun :: TyLookup x xs => TFun f xs (f x)fixed-vector-hetero Data.Vector.HFixed.Class No documentation available.
lookupFL :: Int -> FocusList a -> Maybe afocuslist Data.FocusList Lookup the element at the specified index, counting from 0.
>>> let Just fl = fromListFL (Focus 0) ['a'..'c'] >>> lookupFL 0 fl Just 'a'
Returns Nothing if the index is out of bounds.>>> let Just fl = fromListFL (Focus 0) ['a'..'c'] >>> lookupFL 100 fl Nothing >>> lookupFL (-1) fl Nothing
Always returns Nothing if the FocusList is empty.lookupFL i emptyFL == Nothing
complexity: O(log(min(i, n - i))) where i is the index you want to look up, and n is the length of the FocusList.lookupName :: forall (n :: S) a . Name n -> NameMap n a -> afree-foil Control.Monad.Foil Looking up a name should always succeed. Note that since Name is Sinkable, you can lookup a name from scope n in a NameMap for scope l whenever l extends n.
lookupSubst :: forall e (i :: S) (o :: S) . InjectName e => Substitution e i o -> Name i -> e ofree-foil Control.Monad.Foil Apply substitution to a given name.
lookupName :: forall (n :: S) a . Name n -> NameMap n a -> afree-foil Control.Monad.Foil.Internal Looking up a name should always succeed. Note that since Name is Sinkable, you can lookup a name from scope n in a NameMap for scope l whenever l extends n.