Hoogle Search
Within LTS Haskell 24.12 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lookupRow :: Int -> BorderMap a -> IMap abrick Brick.BorderMap Look up all values on a given row. The IMap returned maps columns to values.
lookupV :: Location -> Run ignored -> BorderMap a -> IMap abrick Brick.BorderMap Bulk lookup of vertically-adjacent values. The Location gives the starting point, and the Run extends in the "larger rows" direction. The IMap returned maps rows to values.
lookupKeyConfigBindings :: Ord k => KeyConfig k -> k -> Maybe BindingStatebrick Brick.Keybindings.KeyConfig Look up the binding state for the specified event. This returns Nothing when the event has no explicitly configured custom BindingState.
-
brick Brick.Keybindings.KeyDispatcher Find the key handler that matches a Vty key event, if any. Modifier order is unimportant since the lookup for a matching binding ignores modifier order. This works by looking up an event handler whose binding is the specified key and modifiers based on the KeyConfig that was used to build the KeyDispatcher. Ordinarily you will not need to use this function; use handleKey instead. This is provided for more direct access to the KeyDispatcher internals.
lookupKeyEvent :: Ord k => KeyEvents k -> Text -> Maybe kbrick Brick.Keybindings.KeyEvents Look up the specified event name to get its abstract event. The lookup ignores leading and trailing whitespace as well as case.
lookupExtent :: Eq n => n -> EventM n s (Maybe (Extent n))brick Brick.Main Given a resource name, get the most recent rendering extent for the name (if any).
lookupViewport :: Ord n => n -> EventM n s (Maybe Viewport)brick Brick.Main Given a viewport name, get the viewport's size and offset information from the most recent rendering. Returns Nothing if no such state could be found, either because the name was invalid or because no rendering has occurred (e.g. in an appStartEvent handler). An important consequence of this behavior is that if this function is called before a viewport is rendered for the first time, no state will be found because the renderer only knows about viewports it has rendered in the most recent rendering. As a result, if you need to make viewport transformations before they are drawn for the first time, you may need to use viewportScroll and its associated functions without relying on this function. Those functions queue up scrolling requests that can be made in advance of the next rendering to affect the viewport.
lookupAttrName :: AttrName -> RenderM n Attrbrick Brick.Types Given an attribute name, obtain the attribute for the attribute name by consulting the context's attribute map.
lookupAndDelete :: forall (m :: Type -> Type) a . Monad m => Focus a m (Maybe a)focus Focus Lookup an element and delete it if it exists. Same as lookup <* delete.
lookupWithDefault :: forall (m :: Type -> Type) a . Monad m => a -> Focus a m afocus Focus Reproduces the behaviour of Data.Map.findWithDefault with a better name.