return to top
source
Composing a Prod.map with another Prod.map is equal to a single Prod.map of composed functions.
Prod.map
Composing a Prod.map with another Prod.map is equal to a single Prod.map of composed functions, fully applied.
Swap the factors of a product. swap (a, b) = (b, a)
swap (a, b) = (b, a)
For two functions f and g, the composition of Prod.map f g with Prod.swap is equal to the composition of Prod.swap with Prod.map g f.
f
g
Prod.map f g
Prod.swap
Prod.map g f