-
Notifications
You must be signed in to change notification settings - Fork 255
Description
This is about lib-2.3 and Data.Nat.Primality.Factorisation
.
It is more classical to
(1) call it Factorization
- with z
instead of s
(2) record PrimeFactorisation
--> record Factorization
(factorization is always to primes, and again z
),
(3) factorise --> factor.
For example, see these names in the "Axiom" book by Jenks and Sutor. I believe the same it is in textbooks on computer algebra.
Another (great) point remains that it is desirable to replace the ad hoc definitions of GCD and Factorization with the general definitions
with introducing their instances for Nat and Integer.
The DoCon-A library release candidate 3.2-rc4 includes such a treating of GCD and Factorization:
http://www.botik.ru/pub/local/Mechveliani/docon-A/
(GCDSemiring, GCDDomain, FactorizationSemiring, UFD ...).