Companion

Functions

Link copied to clipboard
fun <S, A, B> fromIso(SS: Snoc<A, B>, iso: Iso<S, A>): Snoc<S, B>

Lift an instance of Snoc using an Iso.

Link copied to clipboard
operator fun <S, A> invoke(prism: Prism<S, Pair<S, A>>): Snoc<S, A>

Construct a Snoc instance from a Prism.

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

Snoc instance definition for List.

Link copied to clipboard

Snoc instance for String.