arrow-optics / arrow.optics / arrow.core.Tuple2

Extensions for arrow.core.Tuple2

first Lens to focus into the first value of a arrow.core.Tuple2fun <A, B> Tuple2.Companion.~~first~~(): Lens<Tuple2<A, B>, A>
pFirst PLens to focus into the first value of a arrow.core.Tuple2fun <A, B, R> Tuple2.Companion.~~pFirst~~(): PLens<Tuple2<A, B>, Tuple2<R, B>, A, R>
pSecond PLens to focus into the second value of a arrow.core.Tuple2fun <A, B, R> Tuple2.Companion.~~pSecond~~(): PLens<Tuple2<A, B>, Tuple2<A, R>, B, R>
pTraversal PTraversal to focus into the first and second value of a arrow.core.Tuple2fun <A, B> Tuple2.Companion.~~pTraversal~~(): PTraversal<Tuple2<A, A>, Tuple2<B, B>, A, B>
second Lens to focus into the second value of a arrow.core.Tuple2fun <A, B> Tuple2.Companion.~~second~~(): Lens<Tuple2<A, B>, B>
traversal Traversal to focus into the first and second value of a arrow.core.Tuple2fun <A> Tuple2.Companion.~~traversal~~(): Traversal<Tuple2<A, A>, A>

Do you like Arrow?

Arrow Org
<