coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Thomas Braibant <thomas.braibant AT gmail.com>
- To: Bruno Barras <bruno.barras AT inria.fr>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Navigation commands forbidden in files
- Date: Wed, 13 Jun 2012 11:40:57 -0400
> You could use modules:
>
> Module Attempt1.
> ...
> End Attempt1.
> Module Attempt2.
> ...
> End Attempt2.
> ... (* now the preferred style *)
>
> That should provide more or less the same semantics as Reset, but in a more
> structured way. Moreover, that lets you refer to older attempts from the
> preferred style.
It does not provide exactly the same semantics as Reset, if one is
inside a section right ?
Section t.
Variable toto : tutu.
Definition tata : ...
Reset tata.
Definition tata : ...
End t.
has to be translated in
Module Attempt1.
Section t.
Variable toto : tutu.
Definition tata : ...
End t.
End Attempt1.
Module Attempt2.
Section t.
Variable toto : tutu.
Definition tata : ...
End t.
End Attempt2.
which may require to copy paste a lot of context.
- [Coq-Club] Navigation commands forbidden in files, Adam Chlipala, 06/13/2012
- Re: [Coq-Club] Navigation commands forbidden in files, Pierre Casteran, 06/13/2012
- Re: [Coq-Club] Navigation commands forbidden in files, Bruno Barras, 06/13/2012
- Re: [Coq-Club] Navigation commands forbidden in files, Adam Chlipala, 06/13/2012
- Re: [Coq-Club] Navigation commands forbidden in files, Ramana Kumar, 06/13/2012
- Re: [Coq-Club] Navigation commands forbidden in files, Thomas Braibant, 06/13/2012
- Re: [Coq-Club] Navigation commands forbidden in files, Adam Chlipala, 06/13/2012
- Re: [Coq-Club] Navigation commands forbidden in files, Bruno Barras, 06/13/2012
- Re: [Coq-Club] Navigation commands forbidden in files, Pierre Casteran, 06/13/2012
Archive powered by MHonArc 2.6.18.