More: fixes an informal definition of swap×
This commit is contained in:
parent
20516d9e8e
commit
ea1b9c2150
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…
Reference in a new issue