A zipper for List.
Zipper typeZipperConstruct a Zipper from a list. The Zipper will focus on the first element (if there is a first element).
Provide an alternative when constructing a Zipper fails.
Apply a function to all elements before the element the Zipper is focussed on.
Apply a function to the element the Zipper is focussed on.
Apply a function to all elements after the element the Zipper is focussed on.
Move the focus to the element before the element the Zipper is currently focussed on (if there is such an element).
Move the focus to the element after the element the Zipper is currently focussed on (if there is such an element).
Returns a Zipper focussed on the first element for which the predicate returns True (starting from a given Zipper). Note that this function does not search the entire list, but starts searching from the current element.
Returns a Zipper focussed on the first element for which the predicate returns True (starting from the first element of a given Zipper).
The
Zippertype.