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.

  1. type family CtxLookupRight (n :: Nat) (ctx :: Ctx k) :: k

    parameterized-utils Data.Parameterized.Ctx

    Lookup the value in a context by number, from the right

  2. unsafeLookupIncreasePriority :: (Hashable k, Ord k, Ord p) => k -> p -> HashPSQ k p v -> (Maybe (p, v), HashPSQ k p v)

    psqueues Data.HashPSQ

    No documentation available.

  3. unsafeLookupIncreasePriority :: Ord p => (p -> v -> (Maybe b, p, v)) -> Key -> IntPSQ p v -> (Maybe b, IntPSQ p v)

    psqueues Data.IntPSQ

    This can NOT be used to delete elements.

  4. attrMapLookup :: AttrName -> AttrMap -> Attr

    brick 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` blue
    

  5. unsafeLookupViewport :: 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.

  6. mapLookup :: Label -> LabelMap a -> Maybe a

    ghc-lib-parser GHC.Cmm.Dataflow.Label

    No documentation available.

  7. lcLookupCoVar :: LiftingContext -> CoVar -> Maybe Coercion

    ghc-lib-parser GHC.Core.Coercion

    Lookup a CoVar in the substitution in a LiftingContext

  8. type ClsInstLookupResult = ([InstMatch], PotentialUnifiers, [InstMatch])

    ghc-lib-parser GHC.Core.InstEnv

    No documentation available.

  9. data RoughMatchLookupTc

    ghc-lib-parser GHC.Core.RoughMap

    No documentation available.

  10. roughMatchTcToLookup :: RoughMatchTc -> RoughMatchLookupTc

    ghc-lib-parser GHC.Core.RoughMap

    No documentation available.

Page 201 of many | Previous | Next