Skip to content

Commit 2b1c341

Browse files
Saransh-cppandreasabel
authored andcommitted
Simplify more Data.product imports (#2014)
* Simplify more `Data.Product` import to `Data.Product.Base` * Missed an import
1 parent 6301a51 commit 2b1c341

File tree

30 files changed

+30
-31
lines changed

30 files changed

+30
-31
lines changed

src/Codata/Guarded/Stream/Properties.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ open import Data.List.Base as List using (List; []; _∷_)
1616
open import Data.List.NonEmpty as List⁺ using (List⁺; _∷_)
1717
open import Data.Nat.Base using (ℕ; zero; suc; _+_; _*_)
1818
import Data.Nat.GeneralisedArithmetic as ℕ
19-
open import Data.Product as Prod using (_×_; _,_; proj₁; proj₂)
19+
open import Data.Product.Base as Prod using (_×_; _,_; proj₁; proj₂)
2020
open import Data.Vec.Base as Vec using (Vec; _∷_)
2121
open import Function.Base using (const; flip; id; _∘′_; _$′_; _⟨_⟩_; _∘₂′_)
2222
open import Level using (Level)

src/Codata/Guarded/Stream/Relation/Unary/All.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
module Codata.Guarded.Stream.Relation.Unary.All where
1010

1111
open import Codata.Guarded.Stream using (Stream; head; tail)
12-
open import Data.Product using (_,_; proj₁; proj₂)
12+
open import Data.Product.Base using (_,_; proj₁; proj₂)
1313
open import Level
1414
open import Relation.Unary
1515

src/Codata/Musical/Covec.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ open import Codata.Musical.Cofin using (Cofin; zero; suc)
1414
open import Codata.Musical.Colist as Colist using (Colist; []; _∷_)
1515
open import Data.Nat.Base using (ℕ; zero; suc)
1616
open import Data.Vec.Base using (Vec; []; _∷_)
17-
open import Data.Product using (_,_)
17+
open import Data.Product.Base using (_,_)
1818
open import Function.Base using (_∋_)
1919
open import Level using (Level)
2020
open import Relation.Binary

src/Codata/Sized/Colist.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ open import Level using (Level)
1212
open import Size
1313
open import Data.Unit.Base
1414
open import Data.Nat.Base
15-
open import Data.Product using (_×_ ; _,_)
15+
open import Data.Product.Base using (_×_ ; _,_)
1616
open import Data.These.Base using (These; this; that; these)
1717
open import Data.Maybe.Base using (Maybe; nothing; just)
1818
open import Data.List.Base using (List; []; _∷_)

src/Codata/Sized/Colist/Properties.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ open import Data.Maybe.Base as Maybe using (Maybe; nothing; just)
2727
import Data.Maybe.Properties as Maybeₚ
2828
open import Data.Maybe.Relation.Unary.All using (All; nothing; just)
2929
open import Data.Nat.Base as ℕ using (zero; suc; z≤n; s≤s)
30-
open import Data.Product as Prod using (_×_; _,_; uncurry)
30+
open import Data.Product.Base as Prod using (_×_; _,_; uncurry)
3131
open import Data.These.Base as These using (These; this; that; these)
3232
open import Data.Vec.Base as Vec using (Vec; []; _∷_)
3333
open import Function.Base

src/Codata/Sized/M/Bisimilarity.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ open import Codata.Sized.Thunk
1414
open import Codata.Sized.M
1515
open import Data.Container.Core
1616
open import Data.Container.Relation.Binary.Pointwise using (Pointwise; _,_)
17-
open import Data.Product using (_,_)
17+
open import Data.Product.Base using (_,_)
1818
open import Function.Base using (_∋_)
1919
open import Relation.Binary
2020
import Relation.Binary.PropositionalEquality.Core as P

src/Codata/Sized/M/Properties.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ open import Codata.Sized.M
1515
open import Codata.Sized.M.Bisimilarity
1616
open import Data.Container.Core as C hiding (map)
1717
import Data.Container.Morphism as Mp
18-
open import Data.Product as Prod using (_,_)
18+
open import Data.Product.Base as Prod using (_,_)
1919
open import Data.Product.Properties hiding (map-cong)
2020
open import Function.Base using (_$′_; _∘′_)
2121
import Relation.Binary.PropositionalEquality.Core as P

src/Codata/Sized/Stream/Effectful.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
module Codata.Sized.Stream.Effectful where
1010

11-
open import Data.Product using (<_,_>)
11+
open import Data.Product.Base using (<_,_>)
1212
open import Codata.Sized.Stream
1313
open import Effect.Functor
1414
open import Effect.Applicative

src/Codata/Sized/Stream/Properties.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ open import Data.Nat.GeneralisedArithmetic using (fold; fold-pull)
2020
open import Data.List.Base as List using ([]; _∷_)
2121
open import Data.List.NonEmpty as List⁺ using (List⁺; _∷_)
2222
import Data.List.Relation.Binary.Equality.Propositional as Eq
23-
open import Data.Product as Prod using (_,_)
23+
open import Data.Product.Base as Prod using (_,_)
2424
open import Data.Vec.Base as Vec using (_∷_)
2525

2626
open import Function.Base using (id; _$_; _∘′_; const)

src/Data/AVL/IndexedMap.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
{-# OPTIONS --cubical-compatible --safe #-}
88

9-
open import Data.Product as Prod
9+
open import Data.Product.Base using (∃)
1010
open import Relation.Binary
1111
open import Relation.Binary.PropositionalEquality.Core using (_≡_; cong; subst)
1212
import Data.Tree.AVL.Value

0 commit comments

Comments
 (0)