# Each

`interface Each<S, A>`

Each provides a Traversal that can focus into a structure S to see all its foci A

### Parameters

`S` - source of the Traversal

`A` - focus of Traversal

### Properties

 every `open val ``Lens``<``T``, ``S``>.every: ``Traversal``<``T``, ``A``>`DSL to compose Each with a Lens for a structure S to see all its foci A`open val ``Iso``<``T``, ``S``>.every: ``Traversal``<``T``, ``A``>`DSL to compose Each with a Iso for a structure S to see all its foci A`open val ``Prism``<``T``, ``S``>.every: ``Traversal``<``T``, ``A``>`DSL to compose Each with a Prism for a structure S to see all its foci A`open val ``Optional``<``T``, ``S``>.every: ``Traversal``<``T``, ``A``>`DSL to compose Each with a Optional for a structure S to see all its foci A`open val ``Setter``<``T``, ``S``>.every: ``Setter``<``T``, ``A``>`DSL to compose Each with a Setter for a structure S to see all its foci A`open val ``Traversal``<``T``, ``S``>.every: ``Traversal``<``T``, ``A``>`DSL to compose Each with a Traversal for a structure S to see all its foci A`open val ``Fold``<``T``, ``S``>.every: ``Fold``<``T``, ``A``>`DSL to compose Each with a Fold for a structure S to see all its foci A

### Functions

 each `abstract fun each(): ``Traversal``<``S``, ``A``>`Provide a Traversal for a structure S with focus in A

### Companion Object Functions

 fromIso `fun fromIso(EA: ``Each``<``A``, ``B``>, iso: ``Iso``<``S``, ``A``>): ``Each``<``S``, ``B``>`Lift an instance of Each using an Iso fromTraverse `fun fromTraverse(T: Traverse<``S``>): ``Each``, ``A``>`Create an instance of Each from a Traverse

### Inheritors

 EitherEach `interface EitherEach : ``Each``, ``R``>`Each instance for Either that has focus in each Either.Right. ListEach `interface ListEach : ``Each``<``List``<``A``>, ``A``>`Each instance definition for List that summons a Traversal to focus in each A of the source List. ListKEach `interface ListKEach : ``Each``, ``A``>`Each instance definition for ListK. MapEach `interface MapEach : ``Each``<``Map``<``K``, ``V``>, ``V``>`Each instance definition for Map. MapKEach `interface MapKEach : ``Each``, ``V``>`Each instance definition for Map. NonEmptyListEach `interface NonEmptyListEach : ``Each``, ``A``>`Each instance definition for NonEmptyList. OptionEach `interface OptionEach : ``Each``, ``A``>`Each instance definition for Option. SequenceKEach `interface SequenceKEach : ``Each``, ``A``>`Each instance definition for SequenceK. StringEach `interface StringEach : ``Each``<``String``, ``Char``>`Each instance for String. TryEach `interface TryEach : ``Each``, ``A``>`Each instance definition for Try.