A function composition pipeline