Merge pull request #530 from mdimjasevic/more-prod-proj
More: fixes an informal definition of swap×
This commit is contained in:
commit
2ef2824d3a
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ construct to a calculus without the construct.
|
|||
Here is a function to swap the components of a pair:
|
||||
|
||||
swap× : ∅ ⊢ A `× B ⇒ B `× A
|
||||
swap× = ƛ z ⇒ `⟨ proj₂ z , proj₁ z ⟩
|
||||
swap× = ƛ z ⇒ `⟨ `proj₂ z , `proj₁ z ⟩
|
||||
|
||||
|
||||
## Alternative formulation of products
|
||||
|
|
Loading…
Add table
Reference in a new issue