trivial? function for expressions and bracketing for non-trivial components in pretty printing.