-
Focuses on a specific index of this iso focus.
Declaration
Swift
func at(_ i: A.AtIndex) -> Lens<S, A.AtFoci>Parameters
iIndex to focus.
Return Value
A lens from this structure to the focused index.
-
Provides a traversal over all elements of the focus of this iso.
Declaration
Swift
var every: Traversal<S, A.EachFoci> { get }
-
Provides an AffineTraversal focused on an index of the focus of this iso.
Declaration
Swift
func index(_ i: A.IndexType) -> AffineTraversal<S, A.IndexFoci>Parameters
iIndex to focus.
Return Value
An AffineTraversal focused on an index of the focus of this iso.
-
Provides an AffineTraversal focused on an index of the focus of this iso.
Declaration
Swift
subscript(i: A.IndexType) -> AffineTraversal<S, A.IndexFoci> { get }Parameters
iIndex to focus.
Return Value
An AffineTraversal focused on an index of the focus of this iso.
-
Provides an identity
Iso.Declaration
Swift
static var identity: Iso<S, S> { get }
Install in Dash
Iso Extension Reference