diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-01-07 15:32:52 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-01-07 15:32:52 +0000 |
commit | 5794a55f9e8b39b8e562e70593ab794abf463a86 (patch) | |
tree | 170ca1c9d68a2b7c4f1306b696a599758dbbf14b /theories/Structures/OrderedType.v | |
parent | 9b6517c0c933fb1d66c7feb53fa57e1697d8124a (diff) |
Nicer names: DecidableType2* --> Equalities*, OrderedType2* --> Orders*
Old stuff DecidableType.v and OrderedType.v stay there and keep their
names for the moment, for compatibility.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12641 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Structures/OrderedType.v')
-rw-r--r-- | theories/Structures/OrderedType.v | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/theories/Structures/OrderedType.v b/theories/Structures/OrderedType.v index 1f3e50dc3..7d56d9666 100644 --- a/theories/Structures/OrderedType.v +++ b/theories/Structures/OrderedType.v @@ -8,10 +8,13 @@ (* $Id$ *) -Require Export SetoidList Morphisms OrderTac. +Require Export SetoidList Morphisms OrdersTac. Set Implicit Arguments. Unset Strict Implicit. +(** NB: This file is here only for compatibility with earlier version of + [FSets] and [FMap]. Please use [Structures/Orders.v] directly now. *) + (** * Ordered types *) Inductive Compare (X : Type) (lt eq : X -> X -> Prop) (x y : X) : Type := @@ -103,7 +106,7 @@ Module OrderedTypeFacts (Import O: OrderedType). Lemma lt_total : forall x y, lt x y \/ eq x y \/ lt y x. Proof. intros; destruct (compare x y); auto. Qed. - Module OrderElts <: OrderedType2.TotalOrder. + Module OrderElts <: Orders.TotalOrder. Definition t := t. Definition eq := eq. Definition lt := lt. |