arrow-optics / arrow.optics.extensions / ListSnoc
interface ~~ListSnoc~~<A> : Snoc<List<A>, A>
Deprecated: Typeclass interface implementation will not be exposed directly anymore.
Snoc instance definition for List.
| snoc | Provides a Prism between a S and its init and last element A.open fun snoc(): Prism<List<A>, Tuple2<List<A>, A>> |
| invoke | operator fun <A> invoke(): ListSnoc<A> |
Do you like Arrow?
✖