[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: generic * and 0
From: |
Kevin Ryde |
Subject: |
Re: generic * and 0 |
Date: |
Sat, 02 Dec 2006 06:56:28 +1100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
SZAVAI Gyula <address@hidden> writes:
>
> (use-modules (oop goops))
> (define-class <c> ())
> (define-method (* a (b <c>)) #t)
> (* 0 (make <c>))
> ==> 0
Thanks, that's a bug.
> - switch (xx)
> - {
> - case 0: return x; break;
> - case 1: return y; break;
> - }
> -
Though that's not the fix (it breaks 0 * bignum, and changes 0 * real
and complex).
- Re: generic * and 0,
Kevin Ryde <=
- Re: generic * and 0, Mikael Djurfeldt, 2006/12/01
- Re: generic * and 0, Kevin Ryde, 2006/12/01
- Re: generic * and 0, Kevin Ryde, 2006/12/03
- Re: generic * and 0, Mikael Djurfeldt, 2006/12/04
- Re: generic * and 0, Kevin Ryde, 2006/12/04
- Re: generic * and 0, SZAVAI Gyula, 2006/12/05
- Re: generic * and 0, Mikael Djurfeldt, 2006/12/05
- Re: generic * and 0, Ludovic Courtès, 2006/12/05
- Re: generic * and 0, Mikael Djurfeldt, 2006/12/05
- Re: generic * and 0, Marius Vollmer, 2006/12/06