agda / agda-categories

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

Create a contributor's guide #308

Open sstucki opened 3 years ago

sstucki commented 3 years ago

(Prompted by the discussion in https://github.com/agda/agda-categories/pull/304#issuecomment-905410931.)

There are some guidelines in the README.md about what idioms to use and to avoid, but there are also a bunch of non-trivial patterns (like the use of the sym-* fields, or general strategies for avoiding bad performance) that don't seem to be documented in the repo. These should probably all go into a contributors guide.

Until there's such a guide, we could maybe at least collect important points here.

sstucki commented 3 years ago

I'll start: apparently, its a bad idea to inline long equational proofs in record definitions.

JacquesCarette commented 3 years ago