Atrium
1.0.0
common
atrium-core
/
ch.tutteli.atrium.core
/
Left
Left
data
class
Left
<
L
>
(
val
l
:
L
)
:
Either
<
L
,
Nothing
>
(
source
)
The left case of an
Either
.
Members
Members & Extensions
Constructors
Left
Link copied to clipboard
constructor
(
l
:
L
)
Functions
flat
Map
Link copied to clipboard
inline
fun
<
L
,
R
,
T
>
Either
<
L
,
R
>
.
flatMap
(
f
:
(
R
)
->
Either
<
L
,
T
>
)
:
Either
<
L
,
T
>
fold
Link copied to clipboard
inline
fun
<
T
>
fold
(
fL
:
(
L
)
->
T
,
fR
:
(
Nothing
)
->
T
)
:
T
map
Link copied to clipboard
inline
fun
<
T
>
map
(
f
:
(
Nothing
)
->
T
)
:
Either
<
L
,
T
>
to
Option
Link copied to clipboard
fun
toOption
(
)
:
Option
<
Nothing
>
Properties
l
Link copied to clipboard
val
l
:
L