agda-stdlib
agda-stdlib copied to clipboard
Refactor `Data.Integer.Divisibility.Signed`
This is a sequel to #2294 mopping up the refactoring of Data.Integer.Divisibility.Signed suggested there.
NB.
-
Data.Integer.Divisibilityis still a 'minimal' collection of properties based on the underlyingData.Nat.Divisibility, so this latter module has still to be imported inData.Integer.Divisibility.Signed, rather than providing a 'clean' API viaData.Integer.Divisibility... - Additions to
Data.Integer.Propertiesalso expose at least one deprecation/refactoring opportunity, betweenabs-*and∣i*j∣≡∣i∣*∣j∣, preferring the former over the latter, but not as yet doing the deprecation, in the interests of minimal impact (separate PR?)... - Possibility to refactor
◃-distrib-*? - Removes one use of
renamingonimport, butstyle-guiderecommendation in separate PR #2308 .