Arrow
1.1.5
arrow-optics
/
arrow.optics.typeclasses
/
Cons
/
Companion
Companion
object
Companion
(
source
)
Functions
Functions
from
Iso
Link copied to clipboard
fun
<
S
,
A
,
B
>
fromIso
(
C
:
Cons
<
A
,
B
>
,
iso
:
Iso
<
S
,
A
>
)
:
Cons
<
S
,
B
>
Lift an instance of
Cons
using an
Iso
.
invoke
Link copied to clipboard
operator
fun
<
S
,
A
>
invoke
(
prism
:
Prism
<
S
,
Pair
<
A
,
S
>
>
)
:
Cons
<
S
,
A
>
list
Link copied to clipboard
@
JvmStatic
fun
<
A
>
list
(
)
:
Cons
<
List
<
A
>
,
A
>
Cons
instance definition for
List
.
string
Link copied to clipboard
@
JvmStatic
fun
string
(
)
:
Cons
<
String
,
Char
>
Cons
instance for
String
.