Pprintast.DocFormat_doc functions for error messages
val longident : Longident.t Format_doc.printerval constr : Longident.t Format_doc.printerval tyvar : string Format_doc.printerval nominal_exp : Parsetree.expression -> Format_doc.t optionReturns a format document if the expression reads nicely as the subject of a sentence in a error message.