diff options
| author | letouzey | 2008-04-04 19:10:01 +0000 |
|---|---|---|
| committer | letouzey | 2008-04-04 19:10:01 +0000 |
| commit | a418f664cbb289c4b3bf72aa2111ee02b8d44013 (patch) | |
| tree | 1ae476c3f167d50e232cc0887193925d1cd9be63 | |
| parent | 5fb2d53414158b2d6ca97f3d33bf38fbd938252d (diff) | |
A file that can be loaded when a migration from Set to Type is desired
(for instance as a consequence of the Set/Type switch of a library
such as FSets). After a "Require Export SetIsType.", Set becomes a
mere notation for Type (I love notations !).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10757 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | Makefile.common | 3 | ||||
| -rw-r--r-- | theories/Logic/SetIsType.v | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index 2cecce059c..11a7cbd0fe 100644 --- a/Makefile.common +++ b/Makefile.common @@ -507,7 +507,8 @@ LOGICVO:=\ theories/Logic/ClassicalEpsilon.vo theories/Logic/ClassicalUniqueChoice.vo \ theories/Logic/DecidableType.vo theories/Logic/DecidableTypeEx.vo \ theories/Logic/Epsilon.vo theories/Logic/ConstructiveEpsilon.vo \ - theories/Logic/Description.vo theories/Logic/IndefiniteDescription.vo + theories/Logic/Description.vo theories/Logic/IndefiniteDescription.vo \ + theories/Logic/SetIsType.vo ARITHVO:=\ theories/Arith/Arith.vo theories/Arith/Gt.vo \ diff --git a/theories/Logic/SetIsType.v b/theories/Logic/SetIsType.v new file mode 100644 index 0000000000..3286beb496 --- /dev/null +++ b/theories/Logic/SetIsType.v @@ -0,0 +1,17 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +(** * The Set universe seen as a synonym for Type *) + +(** After loading this file, Set becomes just another name for Type. + This allows to easily perform a Set-to-Type migration, or at least + test whether a development relies or not on specific features of + Set: simply insert some Require Export of this file at starting + points of the development and try to recompile... *) + +Notation "'Set'" := Type (only parsing).
\ No newline at end of file |
