A IndexedFold_ is a generalization of something Foldable. It describes how to retrieve multiple values and thier indices.
A IndexedFold_ is similar to a IndexedTraversal_, but it cannot modify its foci.
An IndexedFold_ is an indexed optic with fixed type proptics.internal.Forget cats.arrow.Profunctor
- Type parameters:
- A
the foci of an IndexedFold_
- B
the modified foci of an IndexedFold_
- I
the index of an IndexedFold_
- S
the source of an IndexedFold_
- T
the modified source of an IndexedFold_
- Companion:
- object
Value members
Concrete methods
compose IndexedFold_ with an IndexedLens_, while preserving the indices of the other optic
compose IndexedFold_ with an IndexedLens_, while preserving the indices of the other optic
compose IndexedFold_ with an AnIndexedLens_, while preserving the indices of the other optic
compose IndexedFold_ with an AnIndexedLens_, while preserving the indices of the other optic
compose IndexedFold_ with an IndexedTraversal_, while preserving the indices of the other optic
compose IndexedFold_ with an IndexedTraversal_, while preserving the indices of the other optic
compose IndexedFold_ with an IndexedGetter_, while preserving the indices of the other optic
compose IndexedFold_ with an IndexedGetter_, while preserving the indices of the other optic
compose IndexedFold_ with an IndexedFold_, while preserving the indices of the other optic
compose IndexedFold_ with an IndexedFold_, while preserving the indices of the other optic
compose this IndexedFold_ with an IndexedLens_, while preserving self indices
compose this IndexedFold_ with an IndexedLens_, while preserving self indices
compose this IndexedFold_ with an AnIndexedLens_, while preserving self indices
compose this IndexedFold_ with an AnIndexedLens_, while preserving self indices
compose this IndexedFold_ with an IndexedTraversal_, while preserving self indices
compose this IndexedFold_ with an IndexedTraversal_, while preserving self indices
compose this IndexedFold_ with an IndexedGetter_, while preserving self indices
compose this IndexedFold_ with an IndexedGetter_, while preserving self indices
compose this IndexedFold_ with an IndexedFold_, while preserving self indices
compose this IndexedFold_ with an IndexedFold_, while preserving self indices
compose this IndexedFold_ with an Iso_, having this IndexedFold_ applied first
compose this IndexedFold_ with an Iso_, having this IndexedFold_ applied first
compose this IndexedFold_ with an AnIso_, having this IndexedFold_ applied first
compose this IndexedFold_ with an AnIso_, having this IndexedFold_ applied first
compose this IndexedFold_ with an Lens_, having this IndexedFold_ applied first
compose this IndexedFold_ with an Lens_, having this IndexedFold_ applied first
compose this IndexedFold_ with an ALens_, having this IndexedFold_ applied first
compose this IndexedFold_ with an ALens_, having this IndexedFold_ applied first
compose this IndexedFold_ with an Prism_, having this IndexedFold_ applied first
compose this IndexedFold_ with an Prism_, having this IndexedFold_ applied first
compose this IndexedFold_ with an APrism_, having this IndexedFold_ applied first
compose this IndexedFold_ with an APrism_, having this IndexedFold_ applied first
compose this IndexedFold_ with an AffineTraversal_, having this IndexedFold_ applied first
compose this IndexedFold_ with an AffineTraversal_, having this IndexedFold_ applied first
compose this IndexedFold_ with an AffineTraversal_, having this IndexedFold_ applied first
compose this IndexedFold_ with an AffineTraversal_, having this IndexedFold_ applied first
compose this IndexedFold_ with an Traversal_, having this IndexedFold_ applied first
compose this IndexedFold_ with an Traversal_, having this IndexedFold_ applied first
compose this IndexedFold_ with an ATraversal_, having this IndexedFold_ applied first
compose this IndexedFold_ with an ATraversal_, having this IndexedFold_ applied first
compose this IndexedFold_ with a Getter_, having this IndexedFold_ applied first
compose this IndexedFold_ with a Getter_, having this IndexedFold_ applied first
compose this IndexedFold_ with a Fold_, having this IndexedFold_ applied first
compose this IndexedFold_ with a Fold_, having this IndexedFold_ applied first
compose this IndexedFold_ with an IndexedLens_, while preserving self indices
compose this IndexedFold_ with an IndexedLens_, while preserving self indices
compose this IndexedFold_ with an AnIndexedLens_, while preserving self indices
compose this IndexedFold_ with an AnIndexedLens_, while preserving self indices
compose this IndexedFold_ with an IndexedTraversal_, while preserving self indices
compose this IndexedFold_ with an IndexedTraversal_, while preserving self indices
compose this IndexedFold_ with an IndexedGetter_, while preserving self indices
compose this IndexedFold_ with an IndexedGetter_, while preserving self indices
compose this IndexedFold_ with an IndexedFold_, while preserving self indices
compose this IndexedFold_ with an IndexedFold_, while preserving self indices
compose this IndexedFold_ with an IndexedLens_, while preserving the indices of the other optic
compose this IndexedFold_ with an IndexedLens_, while preserving the indices of the other optic
compose this IndexedFold_ with an AnIndexedLens_, while preserving the indices of the other optic
compose this IndexedFold_ with an AnIndexedLens_, while preserving the indices of the other optic
compose this IndexedFold_ with an IndexedTraversal_, while preserving the indices of the other optic
compose this IndexedFold_ with an IndexedTraversal_, while preserving the indices of the other optic
compose this IndexedFold_ with an IndexedGetter_, while preserving the indices of the other optic
compose this IndexedFold_ with an IndexedGetter_, while preserving the indices of the other optic
compose this IndexedFold_ with an IndexedFold_, while preserving the indices of the other optic
compose this IndexedFold_ with an IndexedFold_, while preserving the indices of the other optic
compose this IndexedFold_ with an Iso_, having this IndexedFold_ applied last
compose this IndexedFold_ with an Iso_, having this IndexedFold_ applied last
compose this IndexedFold_ with an AnIso_, having this IndexedFold_ applied last
compose this IndexedFold_ with an AnIso_, having this IndexedFold_ applied last
compose this IndexedFold_ with an Lens_, having this IndexedFold_ applied last
compose this IndexedFold_ with an Lens_, having this IndexedFold_ applied last
compose this IndexedFold_ with an ALens_, having this IndexedFold_ applied last
compose this IndexedFold_ with an ALens_, having this IndexedFold_ applied last
compose this IndexedFold_ with an Prism_, having this IndexedFold_ applied last
compose this IndexedFold_ with an Prism_, having this IndexedFold_ applied last
compose this IndexedFold_ with an APrism_, having this IndexedFold_ applied last
compose this IndexedFold_ with an APrism_, having this IndexedFold_ applied last
compose this IndexedFold_ with an AffineTraversal_, having this IndexedFold_ applied last
compose this IndexedFold_ with an AffineTraversal_, having this IndexedFold_ applied last
compose this IndexedFold_ with an AffineTraversal_, having this IndexedFold_ applied last
compose this IndexedFold_ with an AffineTraversal_, having this IndexedFold_ applied last
compose this IndexedFold_ with an Traversal_, having this IndexedFold_ applied last
compose this IndexedFold_ with an Traversal_, having this IndexedFold_ applied last
compose this IndexedFold_ with an ATraversal_, having this IndexedFold_ applied last
compose this IndexedFold_ with an ATraversal_, having this IndexedFold_ applied last
compose this IndexedFold_ with a Getter_, having this IndexedFold_ applied last
compose this IndexedFold_ with a Getter_, having this IndexedFold_ applied last
compose this IndexedFold_ with a Fold_, having this IndexedFold_ applied last
compose this IndexedFold_ with a Fold_, having this IndexedFold_ applied last
compose this IndexedFold_ with a function lifted to a Getter_, having this IndexedFold_ applied first
compose this IndexedFold_ with a function lifted to a Getter_, having this IndexedFold_ applied first
map each focus of an IndexedFold_ to a cats.Monoid, and combine the results
map each focus of an IndexedFold_ to a cats.Monoid, and combine the results
remap the index, resulting in a change of type to the full structure
remap the index, resulting in a change of type to the full structure
compose this IndexedFold_ with a function lifted to an IndexedGetter_
compose this IndexedFold_ with a function lifted to an IndexedGetter_
Inherited methods
test whether a focus at specific index of an IndexedGetter contains a given value
test whether a focus at specific index of an IndexedGetter contains a given value
- Inherited from:
- IndexedGetter0
find the first focus of an IndexedFold that satisfies a predicate, if there is any
find the first focus of an IndexedFold that satisfies a predicate, if there is any
- Definition Classes
- IndexedFold0 -> IndexedGetter0
- Inherited from:
- IndexedFold0
fold the foci of a IndexedFold using a cats.Monoid
fold the foci of a IndexedFold using a cats.Monoid
- Inherited from:
- IndexedFold0
fold the foci and indices of an IndexedFold using a binary operator, going left to right
fold the foci and indices of an IndexedFold using a binary operator, going left to right
- Inherited from:
- IndexedFold0
fold the foci and indices of an IndexedFold using a binary operator, going right to left
fold the foci and indices of an IndexedFold using a binary operator, going right to left
- Inherited from:
- IndexedFold0
check if the IndexedGetter does not contain a focus
check if the IndexedGetter does not contain a focus
- Inherited from:
- IndexedGetter0
find the last focus and index of an IndexedFold that satisfies a predicate, if there is any
find the last focus and index of an IndexedFold that satisfies a predicate, if there is any
- Inherited from:
- IndexedFold0
the number of foci of an IndexedFold
the number of foci of an IndexedFold
- Inherited from:
- IndexedFold0
the maximum of all foci of an IndexedFold, if there is any
the maximum of all foci of an IndexedFold, if there is any
- Inherited from:
- IndexedFold0
the minimum of all foci of an IndexedFold, if there is any
the minimum of all foci of an IndexedFold, if there is any
- Inherited from:
- IndexedFold0
check if the IndexedGetter contains a focus
check if the IndexedGetter contains a focus
- Inherited from:
- IndexedGetter0
test whether a focus at specific index of an IndexedGetter does not contain a given value
test whether a focus at specific index of an IndexedGetter does not contain a given value
- Inherited from:
- IndexedGetter0
test whether a predicate does not hold for the focus of an IndexedGetter
test whether a predicate does not hold for the focus of an IndexedGetter
- Inherited from:
- IndexedGetter0
view the first focus of a Fold, if there is any
view the first focus of a Fold, if there is any
- Inherited from:
- IndexedFold0
collect all the foci of an IndexedFold into an Array
collect all the foci of an IndexedFold into an Array
- Inherited from:
- IndexedFold0
collect all the foci of an IndexedFold into aList
collect all the foci of an IndexedFold into aList
- Inherited from:
- IndexedFold0
view the focus and the index of an IndexedFold in the state of a monad
view the focus and the index of an IndexedFold in the state of a monad
- Inherited from:
- IndexedFold0
collect all the foci of an IndexedFold into a List
collect all the foci of an IndexedFold into a List
- Inherited from:
- IndexedFold0