kotlinz
Toggle table of contents
0.3.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
kotlinz
kotlinz
/
com.github.kotlinz.kotlinz.type.profunctor
/
Profunctor
/
dimap
dimap
abstract
fun
<
A
,
B
,
C
,
D
>
dimap
(
f
:
(
A
)
->
B
,
g
:
(
C
)
->
D
,
v
:
K3
<
T
,
F
,
B
,
C
>
)
:
K3
<
T
,
F
,
A
,
D
>
(
source
)
Pre-composes
f
on the input and post-composes
g
on the output.