FSharpx.Collections


ListZipper Module

Functions and values

Function or value Description

ListZipper.back zipper

Full Usage: ListZipper.back zipper

Parameters:
Returns: ListZipper<'a>

Moves the zipper backwards

zipper : ListZipper<'a>
Returns: ListZipper<'a>

ListZipper.focus zipper

Full Usage: ListZipper.focus zipper

Parameters:
Returns: 'a

Returns the head element from the list under focus

zipper : ListZipper<'a>
Returns: 'a

ListZipper.forward zipper

Full Usage: ListZipper.forward zipper

Parameters:
Returns: ListZipper<'a>

Moves the zipper forward

zipper : ListZipper<'a>
Returns: ListZipper<'a>

ListZipper.front zipper

Full Usage: ListZipper.front zipper

Parameters:
Returns: ListZipper<'a>

Moves the zipper to the front

zipper : ListZipper<'a>
Returns: ListZipper<'a>

ListZipper.getList zipper

Full Usage: ListZipper.getList zipper

Parameters:
Returns: 'a list

Returns the whole list from the zipper

zipper : ListZipper<'a>
Returns: 'a list

ListZipper.modify newElement zipper

Full Usage: ListZipper.modify newElement zipper

Parameters:
Returns: ListZipper<'a>

Changes the element under the focus

newElement : 'a
zipper : ListZipper<'a>
Returns: ListZipper<'a>

ListZipper.zipper list

Full Usage: ListZipper.zipper list

Parameters:
    list : 'a list

Returns: ListZipper<'a>

Creates a list zipper

list : 'a list
Returns: ListZipper<'a>