Typeclass instances for ReadCompose — the read-arity lattice. The four total/partial cells sit at normal priority; the many-fold fallback sits in LowPriorityReadCompose because carriers with an Accessor / PartialAccessor usually admit a ForgetfulFold too, and the stronger read must win.
Attributes
- Companion
- trait
- Source
- ReadCompose.scala
- Graph
-
- Supertypes
- Self type
-
ReadCompose.type
Members list
Grouped members
Instances
Anything foldable ∘ anything foldable → optics.ForgetFold over List. Fires only when no total/partial instance applies, i.e. at least one side is genuinely multi-focus (MultiFocus[F] / Forget[F]).
Anything foldable ∘ anything foldable → optics.ForgetFold over List. Fires only when no total/partial instance applies, i.e. at least one side is genuinely multi-focus (MultiFocus[F] / Forget[F]).
Attributes
- Inherited from:
- LowPriorityReadCompose
- Source
- ReadCompose.scala
Givens
Givens
Fold[F] ∘ total → optics.ForgetFold over the same F: Functor.map the inner read over the outer's foci, keeping the container (an Option fold stays an Option, an Either[E, *] fold keeps its Left). @group Instances
Fold[F] ∘ total → optics.ForgetFold over the same F: Functor.map the inner read over the outer's foci, keeping the container (an Option fold stays an Option, an Either[E, *] fold keeps its Left). @group Instances
Attributes
- Source
- ReadCompose.scala
partial ∘ partial → optics.PickFold. @group Instances
partial ∘ total → optics.PickFold. @group Instances
total ∘ partial → optics.PickFold. @group Instances
total ∘ total → optics.Getter. @group Instances
Inherited givens
Fold[F] ∘ partial → optics.ForgetFold over the same F: FunctorFilter.mapFilter the inner getOption over the outer's foci, so an inner miss is F's own empty (None, an empty List, an error-carrying result's "empty value"). @group Instances
Fold[F] ∘ partial → optics.ForgetFold over the same F: FunctorFilter.mapFilter the inner getOption over the outer's foci, so an inner miss is F's own empty (None, an empty List, an error-carrying result's "empty value"). @group Instances
Attributes
- Inherited from:
- MidPriorityReadCompose
- Source
- ReadCompose.scala