Zulip Chat Archive
Stream: general
Topic: unifying withBot and withTop
Frederick Pu (May 19 2024 at 20:24):
Is there a type that unifies withBot and withTop, like withBotTop?
Cause if you do withBot (withTop Nat) that's different from withTop (withBot Nat) so there could be a conflict of convention otherwise
Mario Carneiro (May 19 2024 at 20:43):
No, WithBot (WithTop A)
is more common but you have to choose some ordering of the two "effects" or else some laws don't hold when you combine them
Yury G. Kudryashov (May 19 2024 at 22:58):
E.g., algebraic operations behave differently on these two types
Last updated: May 02 2025 at 03:31 UTC