A sample revised prelude for numeric classes

Jon Fairbairn jf15@hermes.cam.ac.uk
Mon, 12 Feb 2001 10:58:10 +0000 (GMT)


On 12 Feb 2001, Ketil Malde wrote:

> qrczak@knm.org.pl (Marcin 'Qrczak' Kowalczyk) writes:
>=20
> >> Why do you stop at allowing addition on Dollars and not include
> >> multiplication by a scalar?
>=20
> > Perhaps because there is no good universal type for (*).
> > Sorry, it would have to have a different symbol.
>=20
> Is this ubiquitous enough that we should have a *standardized*
> different symbol? =20

I'd think so.

> Any candidates?

=2E* *. [and .*.] ?

where the "." is on the side of the scalar

--=20
J=F3n Fairbairn                                 Jon.Fairbairn@cl.cam.ac.uk
31  Chalmers Road                                        jf@cl.cam.ac.uk
Cambridge CB1 3SZ                      +44 1223 570179 (pm only, please)