-
Notifications
You must be signed in to change notification settings - Fork 257
Closed
Description
May be it is better for standard library to improve the record design for algebra?
We wrote about this recently in the Agda list.
- I complain on that (Magma.setoid +-magma) and (Magma.setoid *-magma) occurs not the same
in Semiring. The same is for decSetoid. I do not find any better way out as introducing
+-setoid and *-setoid in the application. And this does not look nice, it misleads the user. - James Wood wrote there about certain tricks to fix the effect.
- I suggested (in the Agda mail list) the approach to improve the design, with attaching a piece
of code.
Breaking backwards compatibility is not so bad at the current stage.
Because
a) so far, each new lib version still breaks almost all the user's application modules,
b) it is not difficult to port the application to a new version,
c) each application specifies the needed Agda version (and hence the lib version),
install this version and enjoy,
Probably, we need to continue this way until it becomes stable in somewhat a natural way.