You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed an up-to-iso for pushouts and noticed that is was missing, even though the dual theorem is available for pullbacks.
This led me to notice some other pullback/pushout quirks and inconsistencies. For example:
There are two versions of pullback-resp-≈, one in Categories.Diagram.Pullback and one in Categories.Diagram.Pullback.Properties
unique′ , id-unique, and unique-diagram are treated as properties for pushouts and exported by Categories.Diagram.Pushout.Properties, whereas they are treated as conservative extensions (i.e. record fields) for pullbacks and exported by Categories.Diagram.Pullback
Pullbacks come in bundled and unbundled form, while pushouts only come bundled
I'd like to make things consistent between pullbacks and pushouts, and a cursory look at the other modules in Categories.Diagram.* suggests that a few of the other Thing / Cothing pairs could benefit from a similar cleanup.
The text was updated successfully, but these errors were encountered:
All of these are typical warts of libraries that grow organically. Thanks for noticing and listing them explicitly.
A bunch of small PRs fixing this would be most welcome. Definitely best to do it piece-by-piece, so that the uncontroversial stuff can just go in, and anything that needs discussion doesn't hold anything up.
For some of these, it might be wise to first open an issue, to discuss which way we'd like to resolve the inconsistency. That way you won't waste your time implementing a solution that goes in the opposite direction of expectations. But each one of these inconsistencies should get fixed.
Hi, thanks for this excellent library.
I needed an
up-to-iso
for pushouts and noticed that is was missing, even though the dual theorem is available for pullbacks.This led me to notice some other pullback/pushout quirks and inconsistencies. For example:
pullback-resp-≈
, one inCategories.Diagram.Pullback
and one inCategories.Diagram.Pullback.Properties
unique′
,id-unique
, andunique-diagram
are treated as properties for pushouts and exported byCategories.Diagram.Pushout.Properties
, whereas they are treated as conservative extensions (i.e. record fields) for pullbacks and exported byCategories.Diagram.Pullback
I'd like to make things consistent between pullbacks and pushouts, and a cursory look at the other modules in
Categories.Diagram.*
suggests that a few of the other Thing / Cothing pairs could benefit from a similar cleanup.The text was updated successfully, but these errors were encountered: