Skip to content

Commit

Permalink
Fix #224 use Agda.Builtin.Sigma
Browse files Browse the repository at this point in the history
  • Loading branch information
Saizan committed Feb 16, 2018
1 parent 157497a commit 87d28d7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/Data/Product.agda
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,16 @@ open import Level
open import Relation.Nullary
open import Agda.Builtin.Equality

infixr 4 _,_ _,′_
infixr 4 _,′_
infix 4 ,_
infixr 2 _×_ _-×-_ _-,-_

------------------------------------------------------------------------
-- Definition

record Σ {a b} (A : Set a) (B : A Set b) : Set (a ⊔ b) where
constructor _,_
field
proj₁ : A
proj₂ : B proj₁
open import Agda.Builtin.Sigma hiding (module Σ) public renaming (fst to proj₁; snd to proj₂)

open Σ public
module Σ = Agda.Builtin.Sigma.Σ renaming (fst to proj₁; snd to proj₂)

-- The syntax declaration below is attached to Σ-syntax, to make it
-- easy to import Σ without the special syntax.
Expand Down

0 comments on commit 87d28d7

Please sign in to comment.