float*integer, i: 3.<return>

Brian T Rice water at tunes.org
Fri May 30 11:34:08 PDT 2003


On Fri, 30 May 2003, Paul Dufresne wrote:

> I am happy with how Lee did incorporate my suggestion.
> However it needs this (in numeric.slate?):
> i@(Integer traits) * f@(Float traits)
> [
>   (i as: Float) * f
> ].
>
> f@(Float traits) * i@(Integer traits)
> [
>   (i as: Float) * f
> ].

Go ahead and add them. (I should have thought of this a long time ago, in
retrospect.)

> Also, I suspect the current readNumber to cause problems on line like this:
> "
> i: 3.
> j: 4.
> "
> Because readNumber will try to read the mantissa after 3. because it expects
> something like
> 3.1415.

Right. My emacs highlighting is smarter than this is, treating something
as a stop if it is not immediately followed by a mantissa.

-- 
Brian T. Rice
LOGOS Research and Development
http://tunes.org/~water/



More information about the Slate mailing list