diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-02-04 17:57:01 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-02-04 17:57:01 +0000 |
commit | fda949bd93479f8731d959133755ad08b0f9743a (patch) | |
tree | e08ee08d2c1c314871918a586a82fb4e58cbf62a /theories/FSets/FMapList.v | |
parent | f9e40bd3cb4a71eadac0b4b8c9c376c39b29a981 (diff) |
Reorganization of FSet+FMap : no more files specific to Weak Sets/Maps
Thanks to Elie's work and especially "Include Type ...", full sets can
be simply expressed as extensions of weak sets. Moreover, Facts and
Properties functors can be factorized almost completely. As a result,
things like FSetWeakAAA.BBB can now be found as FSetAAA.WBBB,
Same with maps / weak maps ...
No backward compatibility intended for weak sets / maps, but porting
scripts should mostly amounts to name changes (see above).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10505 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/FSets/FMapList.v')
-rw-r--r-- | theories/FSets/FMapList.v | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/theories/FSets/FMapList.v b/theories/FSets/FMapList.v index b2cedaabb..b86e558b3 100644 --- a/theories/FSets/FMapList.v +++ b/theories/FSets/FMapList.v @@ -14,7 +14,6 @@ [FMapInterface.S] using lists of pairs ordered (increasing) with respect to left projection. *) -Require Import FSetInterface. Require Import FMapInterface. Set Implicit Arguments. @@ -23,10 +22,8 @@ Unset Strict Implicit. Module Raw (X:OrderedType). Module E := X. -Module MX := OrderedTypeFacts X. -Module PX := KeyOrderedType X. -Import MX. -Import PX. +Module Import MX := OrderedTypeFacts X. +Module Import PX := KeyOrderedType X. Definition key := X.t. Definition t (elt:Set) := list (X.t * elt). |