Return a value from do-infix to reduce redundancy