Companion

Functions

Link copied to clipboard
fun <S, A, I, B> fromIso(ID: Index<A, I, B>, iso: Iso<S, A>): Index<S, I, B>

Lift an instance of Index using an Iso.

Link copied to clipboard
fun <A> list(): Index<List<A>, Int, A>

Index instance definition for List.

Link copied to clipboard
fun <K, V> map(): Index<Map<K, V>, K, V>
Link copied to clipboard

Index instance definition for NonEmptyList.

Link copied to clipboard
Link copied to clipboard

Index instance for String. It allows access to every Char in a String by its index's position.