toggle menu
Arrow
1.2.4
common
switch theme
search in API
arrow-optics
/
arrow.optics
/
Fold
/
foldMap
fold
Map
open
fun
<
R
>
foldMap
(
empty
:
R
,
combine
:
(
R
,
R
)
->
R
,
source
:
S
,
map
:
(
focus
:
A
)
->
R
)
:
R
(
source
)
Map each target to a type
R
and combine the results as a fold.