Zulip Chat Archive
Stream: Is there code for X?
Topic: filter.comap₂
Yaël Dillies (Mar 19 2022 at 19:15):
Just as we have docs#set.image2, should we have filter.comap₂
? I'm staring at docs#filter.has_mul to see whether we can abstract something away.
Yaël Dillies (Mar 19 2022 at 19:22):
The answer seems to be that we should have more filter
constructors using docs#inf_top_hom.
Yury G. Kudryashov (Mar 20 2022 at 17:25):
It should be called filter.map₂
, not filter.comap₂
, because it is (f₁.prod f₂).map (uncurry (*))
Yury G. Kudryashov (Mar 20 2022 at 17:25):
(not tested)
Last updated: Dec 20 2023 at 11:08 UTC