[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: generic * and 0
From: |
Ludovic Courtès |
Subject: |
Re: generic * and 0 |
Date: |
Tue, 05 Dec 2006 16:51:19 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
"Mikael Djurfeldt" <address@hidden> writes:
> 2006/12/5, SZAVAI Gyula <address@hidden>:
>> Kevin Ryde wrote:
>> > "Mikael Djurfeldt" <address@hidden> writes:
>> >
>> >> (Not entirely sure that the common zero is a good idea, but I tend
>> >> to think so.)
>> >>
>> >
>> > I suppose it's a question of whether "*" should do that, or leave it
>> > up to the application.
>> >
>>
>> I think there are 3 solution:
>> 1, make * really generic (non-associative, no 0, no 1)
>
> In Guile, this might be tricky to do without large damage to performance.
It would be soooo nice if some day we could have a framework to
specialize invocations, especially for arithmetic operators (e.g., like
what CMUCL and others have)... :-)
Thanks,
Ludovic.
- Re: generic * and 0, Kevin Ryde, 2006/12/01
- 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 <=
- Re: generic * and 0, Mikael Djurfeldt, 2006/12/05
- Re: generic * and 0, Marius Vollmer, 2006/12/06
- Re: generic * and 0, Mikael Djurfeldt, 2006/12/07