Package-level declarations

Properties

Link copied to clipboard
Link copied to clipboard
val <S, A> KProperty1<S, A>.lens: Lens<S, A>

Lens that focuses on a field in a data class

Link copied to clipboard

Optional that focuses on a nullable field

Link copied to clipboard
val <S, K, A> KProperty1<S, Map<K, A>>.values: Traversal<S, A>

Functions

Link copied to clipboard
inline fun <S : Any, A : S> instance(): Prism<S, A>

Focuses on those elements of the specified class

fun <S : Any, A : S> instance(klass: KClass<A>): Prism<S, A>

Focuses on those elements of the specified klass