some generalizations for GenericAffExpr