Custom Query (361 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (94 - 96 of 361)

Ticket Resolution Summary Owner Reporter
#473 fixed Indentation screwed up by "/." (not by "/ .") in, e.g., [Arguments foo /.] David Aspinall coquser
Description

The following two blocks of code have been indented by highlighting the lines and pressing TAB:

Incorrect indentation:

Section foo.
  Arguments id /.
            Definition foo := Type.
  Definition bar := Type.
End foo.

Correct indentation:

Section foo.
  Arguments id / .
  Definition foo := Type.
  Definition bar := Type.
End foo.
#474 fixed Indentation screwed up in sigT notations ("{ _ : _ & _ }") spanning multiple lines courtieu coquser
Description

Here's some code formatted by TAB in emacs PG:

Definition A
: { T : ReallySuperDuperExtremelyLongName bar baz qux &
                                          foo T }.
  Definition B
  : { T : (ReallySuperDuperExtremelyLongName bar baz qux) &
                                                          foo T }

      Definition C
  : { T : ReallySuperDuperExtremelyLongName bar baz qux
                                            & foo T }.
    Definition D
    : { T : (ReallySuperDuperExtremelyLongName bar baz qux)
              & foo T }

The indentation of Definition is clearly broken. Additionally, I think all of them should be formatted roughly like Definition D, where the & or the foo is lined up close to the start of the line, rather than as an argument of ReallySuperDuperExtremelyLongName. I'd be even happier if sigT notation were formatted like sig notation, that is, if & acted like | here. (This change doessn't fix the screwy levels of Definition, though.)

#475 fixed [exists] tactic causes improper indentation David Aspinall coquser
Description

Here is some code indented by TAB:

Goal True.                                                                                                                                  
Proof.
  match goal with
    | _ => exists 1
                | _ => idtac
                  end.
Note: See TracQuery for help on using queries.