From 2e93411329de51cac30c63e111a03059bde43394 Mon Sep 17 00:00:00 2001 From: letouzey Date: Tue, 2 Nov 2010 15:10:27 +0000 Subject: 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 --- theories/Structures/Equalities.v | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'theories/Structures') 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. -- cgit v1.2.3