Strictly speaking anything beyond defintions in Monoid and Rng is
an optimization. Given that both functions are unused this may
be premature optimization. OTOH, extra implementations are
tiny and look correct so the cost is quite small. So, when
I looked at the patch I decided that this is not worth
discussing.
One remark: I would like to adapt convention that there
is empty line before '@' -- this helps merging changes and
makes '@' better visible. AFAICS the commit tries to
remove some such empty lines.
> Ralf
>
> PS: There is still something wrong since I get the error
>
> >> System error:
> Couldn't load
> "/home/hemmecke/g/fricas-bisect/b/target/x86_64-unknown-linux/algebra/RNG-.fasl":
> file does not exist.
>
> (1) -> Stage 3 object copy
> cp: cannot stat `DFLOAT.NRLIB/DFLOAT.fasl': No such file or directory
> make[3]: *** [stamp-oboo3] Error 1
>
> during a parallel compilation. Probably a new dependency in an early stage.
AFAICS one has to add RNG to CATDOMS in Makefile.in
--
Waldek Hebisch
heb...@math.uni.wroc.pl