arrow-optics / arrow.optics.extensions / StringCons / cons

cons

open fun cons(): Prism<String, Tuple2<Char, String>>

Provides a Prism between S and its first element A and tail S.

Do you like Arrow?

Arrow Org
<