brick/tests
Fraser Tweedale bba4320f35 List: add "move to next" function
A common use case is to seek to the next occurrence in the list of
an element matching some predicate (e.g. next unread email).  Add
the 'listFindBy' function to satisfy this use case.

'listFindBy' is lazy.  Also redefine 'listMoveToElement' in terms of
'listFindBy', making it lazy.  This changes the constraints from
(Traversable t) to (Foldable t, Splittable t), which is reasonable.
2018-12-14 08:41:08 +10:00
..
List.hs List: add "move to next" function 2018-12-14 08:41:08 +10:00
Main.hs tests: add List properties 2018-12-07 08:56:21 +10:00