Zulip Chat Archive
Stream: new members
Topic: Make product argument of lambda function explicit
Nicolò Cavalleri (Dec 31 2022 at 20:04):
I do not remember if there is a way of writing λ x : ℕ × ℕ, x.1 + x.2
as something like λ ⟨a, b⟩ : ℕ × ℕ, a + b
Reid Barton (Dec 31 2022 at 20:07):
You can but (unfortunately) you shouldn't because the latter actually means \lam p, match p with (a, b) -> a + b
Reid Barton (Dec 31 2022 at 20:08):
which is propositionally equal, but usually a worse definition
Last updated: Dec 20 2023 at 11:08 UTC