Implement compose operator ∘