diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-11-02 15:10:27 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-11-02 15:10:27 +0000 |
commit | 2e93411329de51cac30c63e111a03059bde43394 (patch) | |
tree | b3d29a20285d3d1234d1c6f6c4ed7f323fc55ce1 /theories/Structures | |
parent | df7acfad0ce0270b62644a5e9f8709ed0e7936e6 (diff) |
Numbers: NZPowProp as a Module Type, some module variable renaming
We temporary use a hack to convert a module type into a module
Module M := T is refused, so we force an include via
Module M := Nop <+ T where Nop is an empty module.
To be fixed later more beautifully...
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13602 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Structures')
-rw-r--r-- | theories/Structures/Equalities.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/theories/Structures/Equalities.v b/theories/Structures/Equalities.v index 0a6dba982..14d34f1eb 100644 --- a/theories/Structures/Equalities.v +++ b/theories/Structures/Equalities.v @@ -11,6 +11,12 @@ Require Export RelationClasses. Set Implicit Arguments. Unset Strict Implicit. +(** Structure with nothing inside. + Used to force a module type T into a module via Nop <+ T. (HACK!) *) + +Module Type Nop. +End Nop. + (** * Structure with just a base type [t] *) Module Type Typ. |