Skip to content

Commit a502568

Browse files
committed
fix deprecated warnings.
1 parent 3acee34 commit a502568

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

theories/Data/Map/FMapAList.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Require Import List.
1+
Require Import Coq.Classes.RelationClasses.
2+
Require Import Coq.Lists.List.
23
Require Import ExtLib.Core.RelDec.
34
Require Import ExtLib.Tactics.Consider.
45
Require Import ExtLib.Structures.Maps.
@@ -63,7 +64,6 @@ Section keyed.
6364

6465
Section proofs.
6566
Hypothesis RDC_K : RelDec_Correct RD_K.
66-
Require Import RelationClasses.
6767

6868
Hypothesis Refl : Reflexive R.
6969
Hypothesis Sym : Symmetric R.

theories/Data/Map/FMapPositive.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,9 @@ Section fmap.
239239

240240
End fmap.
241241

242+
Require Import ExtLib.Core.Type.
243+
242244
Section type.
243-
Require Import ExtLib.Core.Type.
244245
Variable T : Type.
245246
Variable tT : type T.
246247

theories/Data/Map/FMapTwoThreeK.v

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
Require Import ExtLib.Structures.Maps.
2-
Require Import List.
1+
Require Import Coq.Lists.List.
32
Require Import ExtLib.Core.RelDec.
3+
Require Import ExtLib.Structures.Maps.
44
Require Import ExtLib.Structures.Monads.
5+
Require Import ExtLib.Structures.Reducible.
56

67
Set Implicit Arguments.
78
Set Strict Implicit.
@@ -150,8 +151,6 @@ Section keyed.
150151
; union := twothree_union
151152
}.
152153

153-
Require Import ExtLib.Structures.Reducible.
154-
155154
Global Instance Foldable_twothree V : Foldable (twothree V) (K * V) :=
156155
fun _ f b x => twothree_fold (fun k v => f (k,v)) b x.
157156

0 commit comments

Comments
 (0)