Puller

public typealias Puller<A> = Co<ForZipper, A>
  • Creates a Puller that can move a Zipper focus to the left.

    Declaration

    Swift

    static func moveLeft() -> Puller<Void>

    Return Value

    A Puller that can move a Zipper focus to the left.

  • Creates a Puller that can move a Zipper focus to the right.

    Declaration

    Swift

    static func moveRight() -> Puller<Void>

    Return Value

    A Puller that can move a Zipper focus to the right.

  • Creates a Puller that can move a Zipper focus to the leftmost position.

    Declaration

    Swift

    static func moveToFirst() -> Puller<Void>

    Return Value

    A Puller that can move a Zipper focus to the leftmost position.

  • Creates a Puller that can move a Zipper focus to the rightmost position.

    Declaration

    Swift

    static func moveToLast() -> Puller<Void>

    Return Value

    A Puller that can move a Zipper focus to the rightmost position.