arrow-optics / arrow.optics.extensions / StringCons

StringCons

interface ~~StringCons~~ : Cons<String, Char> Deprecated: Typeclass interface implementation will not be exposed directly anymore.

Functions

cons Provides a Prism between S and its first element A and tail S.open fun cons(): Prism<String, Tuple2<Char, String>>

Companion Object Functions

invoke Operator overload to instantiate typeclass instance.operator fun invoke(): Cons<String, Char>

Do you like Arrow?

Arrow Org
<