Package-level declarations

Functions

Link copied to clipboard
infix fun <T, A, B> PTraversal<T, T, A, B>.and(other: PTraversal<T, T, A, B>): PTraversal<T, T, A, B>

Traversal that aggregates the elements of two other traversals.

Link copied to clipboard
fun <A> onceOrMore(traversal: Traversal<A, A>): Traversal<A, A>

Aggregates the elements by "going into" the desired traversal repeatedly. This traversal is especially useful to inspect values which contain fields of the same type within them.

Link copied to clipboard
operator fun <T, A, B> PTraversal<T, T, A, B>.times(other: PTraversal<T, T, A, B>): PTraversal<T, T, A, B>

Traversal that aggregates the elements of two other traversals.

Link copied to clipboard
fun <A> zeroOrMore(traversal: Traversal<A, A>): Traversal<A, A>

Aggregates the elements by "going into" the desired traversal repeatedly, including the starting value itself. This traversal is especially useful to inspect values which contain fields of the same type within them.