cursor z returns the targeted element in z.
This function is not total, but the invariant is that endp z == False means that you can safely call cursor z.
|replace a z changes the current element in the zipper to the passed in value. If there is no current element, the zipper is unchanged. If you want to add the element in that case instead, use insert a (delete z).|
|Produced by Haddock version 2.7.2|