Curry, uncurry and compose.