Replace a flip with a partial binary application