agda / agda-categories

A new Categories library for Agda
https://agda.github.io/agda-categories
MIT License
363 stars 68 forks source link

(P)NNO: small improvements #427

Closed Reijix closed 1 month ago

Reijix commented 1 month ago

Categories.Object.NaturalNumbers.Parametrized takes a CartesianCategory which can be hard to use, so I've unbundled things.

I also split Categories.Object.NaturalNumbers.Properties.F-Algebras in two, adding Categories.Object.NaturalNumbers.Parametrized.Properties.F-Algebras and removed the anonymous module to move all parameters to the outer module (for ease of use).

Lastly, I've replaced the locally defined functors Maybe and coproductF with the corresponding instances of -+-.