agda / agda-categories

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

Big cleanup: factor out common shorthand notation #306

Closed sstucki closed 3 years ago

sstucki commented 3 years ago

… for working with isos and monoidal categories.

This is a housekeeping PR. It touches a lot of code but the changes are mostly superficial: avoiding duplicate definitions of the same shorthands that appear over and over again, making notation more uniform, removing some duplication code/lemmas related to isos and making it easier to work both with isos and normal morphisms at the same time (see e.g. how the new Commutationᵢ module is used in Category.Monoidal.Properties).

This also addresses some instances of #299.