Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. listMovePageDown :: forall (t :: Type -> Type) n e . (Foldable t, Splittable t, Ord n) => EventM n (GenericList n t e) ()

    brick Brick.Widgets.List

    Move the list selected index down by one page.

  2. listMovePageUp :: forall (t :: Type -> Type) n e . (Foldable t, Splittable t, Ord n) => EventM n (GenericList n t e) ()

    brick Brick.Widgets.List

    Move the list selected index up by one page.

  3. listMoveTo :: forall (t :: Type -> Type) n e . (Foldable t, Splittable t) => Int -> GenericList n t e -> GenericList n t e

    brick Brick.Widgets.List

    Set the selected index for a list to the specified index, subject to validation. If pos >= 0, indexes from the start of the list (which gets evaluated up to the target index) If pos < 0, indexes from the end of the list (which evaluates length of the list). Complexity: same as splitAt for the container type.

    listMoveTo for List: O(1)
    listMoveTo for Seq: O(log(min(i,n-i)))
    

  4. listMoveToBeginning :: forall (t :: Type -> Type) n e . (Foldable t, Splittable t) => GenericList n t e -> GenericList n t e

    brick Brick.Widgets.List

    Move the list selection to the first element in the list.

  5. listMoveToElement :: forall e (t :: Type -> Type) n . (Eq e, Foldable t, Splittable t) => e -> GenericList n t e -> GenericList n t e

    brick Brick.Widgets.List

    Set the selected index for a list to the index of the first occurrence of the specified element if it is in the list, or leave the list unmodified otherwise. O(n). Only evaluates as much of the container as needed.

  6. listMoveToEnd :: forall (t :: Type -> Type) n e . (Foldable t, Splittable t) => GenericList n t e -> GenericList n t e

    brick Brick.Widgets.List

    Move the list selection to the last element in the list.

  7. listMoveUp :: forall (t :: Type -> Type) n e . (Foldable t, Splittable t) => GenericList n t e -> GenericList n t e

    brick Brick.Widgets.List

    Move the list selected index up by one. (Moves the cursor up, subtracts one from the index.)

  8. orElseSTM :: STM a -> STM a -> STM a

    classy-prelude ClassyPrelude

    Synonym for orElse.

  9. threadWaitReadSTM :: Fd -> IO (STM (), IO ())

    context Context.Concurrent

    Returns an STM action that can be used to wait for data to read from a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  10. threadWaitWriteSTM :: Fd -> IO (STM (), IO ())

    context Context.Concurrent

    Returns an STM action that can be used to wait until data can be written to a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

Page 62 of many | Previous | Next