| License | BSD-3-Clause |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Swarm.TUI.List
Description
A special modified version of handleListEvent
to deal with skipping over separators.
Synopsis
- handleListEventWithSeparators :: (Foldable t, Splittable t, Ord n, Searchable t) => Event -> (e -> Bool) -> EventM n (GenericList n t e) ()
Documentation
handleListEventWithSeparators Source #
Arguments
| :: (Foldable t, Splittable t, Ord n, Searchable t) | |
| => Event | |
| -> (e -> Bool) | Is this element a separator? |
| -> EventM n (GenericList n t e) () |
Handle a list event, taking an extra predicate to identify which list elements are separators; separators will be skipped if possible.