Arrow
Toggle table of contents
2.0.0
common
Platform filter
common
Switch theme
Search in API
Arrow
arrow-core
/
arrow.core.raise
/
mapValuesOrAccumulate
map
Values
Or
Accumulate
inline
fun
<
K
,
Error
,
A
,
B
>
Raise
<
Error
>
.
mapValuesOrAccumulate
(
map
:
Map
<
K
,
A
>
,
combine
:
(
Error
,
Error
)
->
Error
,
transform
:
RaiseAccumulate
<
Error
>
.
(
Map.Entry
<
K
,
A
>
)
->
B
)
:
Map
<
K
,
B
>
inline
fun
<
K
,
Error
,
A
,
B
>
Raise
<
NonEmptyList
<
Error
>
>
.
mapValuesOrAccumulate
(
map
:
Map
<
K
,
A
>
,
transform
:
RaiseAccumulate
<
Error
>
.
(
Map.Entry
<
K
,
A
>
)
->
B
)
:
Map
<
K
,
B
>