Hoogle Search
Within LTS Haskell 24.62 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type family
CtxLookupRight (n :: Nat) (ctx :: Ctx k) :: kparameterized-utils Data.Parameterized.Ctx Lookup the value in a context by number, from the right
-
psqueues Data.HashPSQ No documentation available.
-
psqueues Data.IntPSQ This can NOT be used to delete elements.
attrMapLookup :: AttrName -> AttrMap -> Attrbrick Brick.AttrMap Look up the specified attribute name in the map. Map lookups proceed as follows. If the attribute map is forcing all lookups to a specific attribute, that attribute is returned along with its style settings. If the attribute name is empty, the map's default attribute is returned. If the attribute name is non-empty, every subsequence of names from the specified name are used to perform a lookup and the results are combined as in mergeWithDefault, with more specific results taking precedence over less specific ones. As attributes are merged, styles are also merged. If a more specific attribute name introduces a style (underline, say) and a less specific attribute name introduces an additional style (bold, say) then the final result will include both styles. For example:
attrMapLookup (attrName "foo" <> attrName "bar") (attrMap a []) == a attrMapLookup (attrName "foo" <> attrName "bar") (attrMap (bg blue) [(attrName "foo" <> attrName "bar", fg red)]) == red `on` blue attrMapLookup (attrName "foo" <> attrName "bar") (attrMap (bg blue) [(attrName "foo" <> attrName "bar", red on cyan)]) == red `on` cyan attrMapLookup (attrName "foo" <> attrName "bar") (attrMap (bg blue) [(attrName "foo" <> attrName "bar", fg red), ("foo", bg cyan)]) == red `on` cyan attrMapLookup (attrName "foo" <> attrName "bar") (attrMap (bg blue) [(attrName "foo", fg red)]) == red `on` blueunsafeLookupViewport :: Ord n => n -> RenderM n (Maybe Viewport)brick Brick.Widgets.Core Given a name, obtain the viewport for that name by consulting the viewport map in the rendering monad. NOTE! Some care must be taken when calling this function, since it only returns useful values after the viewport in question has been rendered. If you call this function during rendering before a viewport has been rendered, you may get nothing or you may get a stale version of the viewport. This is because viewports are updated during rendering and the one you are interested in may not have been rendered yet. So if you want to use this, be sure you know what you are doing.
mapLookup :: Label -> LabelMap a -> Maybe aghc-lib-parser GHC.Cmm.Dataflow.Label No documentation available.
lcLookupCoVar :: LiftingContext -> CoVar -> Maybe Coercionghc-lib-parser GHC.Core.Coercion Lookup a CoVar in the substitution in a LiftingContext
type
ClsInstLookupResult = ([InstMatch], PotentialUnifiers, [InstMatch])ghc-lib-parser GHC.Core.InstEnv No documentation available.
-
ghc-lib-parser GHC.Core.RoughMap No documentation available.
roughMatchTcToLookup :: RoughMatchTc -> RoughMatchLookupTcghc-lib-parser GHC.Core.RoughMap No documentation available.