At
public protocol At
At
provides a Lens
for a this structure to focus at AtFoci
at a given index AtIndex
.
-
Undocumented
Declaration
Swift
associatedtype AtIndex
-
Undocumented
Declaration
Swift
associatedtype AtFoci
-
remove(_:)
Extension method -
remove(_:)
Extension method -
at(_:iso:)
Extension methodPost-composes the lens at a given index with an isomorphism.
Parameters
i
Index for the value to focus on.
iso
An isomorphism for post-composition.
Return Value
A Lens that focuses on the provided index, transformed with the provided isomophism.
-
at(_:iso:)
Extension methodPre-composes the lens at a given index with an isomorphism.
Parameters
i
Index for the value to focus on.
iso
An isomorphism for pre-composition.
Return Value
A Lens that focuses on the provided index, where the containing structure has been transformed with the provided isomorphsim.