Skip to content

Commit

Permalink
Merge pull request #7 from glguy/master
Browse files Browse the repository at this point in the history
Change fixity of set union and intersection
  • Loading branch information
UlfNorell committed Feb 16, 2014
2 parents 862eea7 + de491b0 commit bd6b7c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Relation/Unary.agda
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ module _ {a} {A : Set a} -- The universe of discourse.

-- Set union.

infixl 6 _∪_
infixr 6 _∪_

_∪_ : {ℓ₁ ℓ₂} Pred A ℓ₁ Pred A ℓ₂ Pred A _
P ∪ Q = λ x x ∈ P ⊎ x ∈ Q

-- Set intersection.

infixl 7 _∩_
infixr 7 _∩_

_∩_ : {ℓ₁ ℓ₂} Pred A ℓ₁ Pred A ℓ₂ Pred A _
P ∩ Q = λ x x ∈ P × x ∈ Q
Expand Down

0 comments on commit bd6b7c0

Please sign in to comment.