Wrap "f (g x)" in proper parens when printing