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.

  1. lookupRow :: Int -> BorderMap a -> IMap a

    brick Brick.BorderMap

    Look up all values on a given row. The IMap returned maps columns to values.

  2. lookupV :: Location -> Run ignored -> BorderMap a -> IMap a

    brick 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.

  3. lookupKeyConfigBindings :: Ord k => KeyConfig k -> k -> Maybe BindingState

    brick Brick.Keybindings.KeyConfig

    Look up the binding state for the specified event. This returns Nothing when the event has no explicitly configured custom BindingState.

  4. lookupVtyEvent :: forall k (m :: Type -> Type) . Key -> [Modifier] -> KeyDispatcher k m -> Maybe (KeyHandler k m)

    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.

  5. lookupKeyEvent :: Ord k => KeyEvents k -> Text -> Maybe k

    brick 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.

  6. 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).

  7. 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.

  8. lookupAttrName :: AttrName -> RenderM n Attr

    brick Brick.Types

    Given an attribute name, obtain the attribute for the attribute name by consulting the context's attribute map.

  9. 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.

  10. lookupWithDefault :: forall (m :: Type -> Type) a . Monad m => a -> Focus a m a

    focus Focus

    Reproduces the behaviour of Data.Map.findWithDefault with a better name.

Page 79 of many | Previous | Next