Functions for analyzing projections for pretty printing #
def Lean.PrettyPrinter.Delaborator.fieldNotationCandidate? (f : Expr) (args : Array Expr) (useGeneralizedFieldNotation : Bool) :
If f is a function that can be used for field notation,
returns the field name to use and the argument index for the object of the field notation.