Custom Query (361 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 361)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Resolution Summary Owner Reporter
#476 fixed [Goal], [Proposition], [Intance], [Fixpoint], [Corollary] do not have indented proof scripts David Aspinall coquser
Description

PG indents as follows

Goal True.
constructor.
Qed.

Goal True.
Proof.
  constructor.
Qed.

And similarly for Proposition, Fixpoint, Instance, Corollary, and possibly some others. (Definition, Theorem, Lemma, and Let all work fine)

#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.
#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.)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Note: See TracQuery for help on using queries.