Dan Sugalski <[EMAIL PROTECTED]> wrote:
>   A few more mod ops

>   +=item B<cmod>(out PMC, in INT, in INT)

I'm not sure if this is a good idea. We currently don't have any such
kind of ops that takes 2 natural types and spits out a new PMC

BTW, the doc above has out PMC, the implementation is:

>   +op cmod(in PMC, in INT, in INT) {

so that's b0rken anyway.

But implementing *one* such opcode (cmod) implies that we have it for
all math ops for symmetry reasons.

A further note: while its safe to add opcodes w/o updating ops.num, the
next adding of unregistered ops might break the ops numbering (and
existing PBCs), so its not really recommended ;)

leo

Reply via email to