arrow-core
1.1.6-alpha.15
common
arrow-core
/
arrow.core.raise
/
mapOrAccumulate
map
Or
Accumulate
inline
fun
<
R
,
A
,
B
>
Raise
<
NonEmptyList
<
R
>
>
.
mapOrAccumulate
(
list
:
Iterable
<
A
>
,
crossinline
block
:
Raise
<
R
>
.
(
A
)
->
B
)
:
List
<
B
>
Accumulate the errors obtained by executing the
block
over every element of
list
.