A helper to flatten sequences of ops with compounds.