Compose and curry