Package-level declarations

Properties

Link copied to clipboard
val <S, A> KProperty1<S, List<A>>.every: Every<S, A>
Link copied to clipboard
val <S, A> (S) -> Iterable<A>.iter: Fold<S, A>
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
val <S, A> (S) -> A.ogetter: Getter<S, A>

Focuses on a given field

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: Every<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