positionLens

fun <T> positionLens(index: Int): Lens<List<T>, T>

creates a Lens pointing to a certain position in a list

Parameters

index

position to focus on