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).
Returns all elements before the element the Zipper is focussed on.
Returns the element the Zipper is focussed on.
Returns all elements after the element the Zipper is focussed on
Reconstruct the list.
Update all elements before the element the Zipper is focussed on.
Updat the element the Zipper is focussed on.
Update all elements after the element the Zipper is focussed on.
Move the focus to the first element of the list.
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).
Move the focus to the last element of the list.
Returns a Zipper focussed on the first element for which the predicate returns True (starting from a given Zipper).
The
Zippertype.