Zulip Chat Archive
Stream: new members
Topic: pattern matching/ extracting from a dependent pair
Sarah (May 12 2025 at 19:29):
Hi, I have the following type in my code :
icom : (fun Γ' => (eff : Effect) × (ty : d.Ty) × Com d Γ' eff ty) Γ'
Is it somehow possible to just retrieve the value for "Com d Γ' eff ty"
Aaron Liu (May 12 2025 at 19:38):
icom.snd.snd : Com d Γ' icom.fst icom.snd.fst
Sarah (May 13 2025 at 20:32):
thx, that helped.
Last updated: Dec 20 2025 at 21:32 UTC