axiom-mail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-mail] Why no mod function?


From: Martin Rubey
Subject: Re: [Axiom-mail] Why no mod function?
Date: 08 Aug 2007 01:18:48 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Dear Alasdair,

apart from the technical issue of applying this patch to your local tree, I'd
like to advise you not to resort to lisp for this particular purpose.  Try to
stick to SPAD.  This will make it easier to reuse and debug your code.

In fact, reading

> x mod y == integer MOD(x,y)$Lisp

I do not really see what mod does exactly.  Since SPAD was made for expressing
maths, it should be easy to rewrite it in SPAD.

By the way, what's the difference to positiveRemainder?

Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]