Option for output of factor(n) as string
Glen-O opened this issue · 1 comments
Glen-O commented
At times, it is desirable to incorporate the default REPL output of factor(n) into strings for use, for example, within a println command. It would be nice to have a type variant - factor(String,n) - which outputs in string form (eg/ factor(String,90) = "2 * 3^2 * 5"), as well as a method for converting a Factorization form into a nice string (eg/ prodform(factor(90)) = "2 * 3^2 * 5").
oscardssmith commented
If we wanted it, it would be spelled string(factor(n))
.