At 01:31 PM 8/30/00 -0500, David L. Nicol wrote:
>Dynamic types-checking slows us down of course, but with both, the
>dynmaic type will only be required when it isn;t clear, and that clarity
>will keep perl6 instructors with full classrooms.
I can guarantee you that keeping instructor's classroom
Fisher Mark wrote:
> * Units of measure are optional;
> * Units of measure are fast; and
> * Implementing units of measure don't appreciably slow down computations
> that don't use units of measure.
enforced types without automatic conversions does all this, the matches
are made once at compile-
Al Lipscomb writes:
>I was wondering about maybe being able to store these
> attributes as
> optional parts of the scalar. Something like this (please
> don't get hung up
> on the details, I am not much of a designer):
>
>my($amt,$hours,$total);
>$amt->{TYPE} = "DOLLARS";
>$total->{
At 02:49 PM 8/29/00 -0400, Andy Dougherty wrote:
>On Tue, 29 Aug 2000, David L. Nicol wrote:
>
> > I'd like to see every number bundled with a "precision" attribute.
>
>While that might be useful for simple calculations, I expect it would
>simply get in the way and slow things down for larger, mor
Andy Dougherty wrote:
>
> On Tue, 29 Aug 2000, David L. Nicol wrote:
>
> > I'd like to see every number bundled with a "precision" attribute.
>
> While that might be useful for simple calculations, I expect it would
> simply get in the way and slow things down for larger, more complex
> calcula
Al-
> In some of the OO stuff people (me included) wanted to see simple scalars be
> able to act "like" objects.
You'll be particularly interested in RFC's 159 and 161, and discussions
on -objects. Check out these emails in particular:
http://www.mail-archive.com/perl6-language-objects%40perl.
On Tue, 29 Aug 2000, David L. Nicol wrote:
> I'd like to see every number bundled with a "precision" attribute.
While that might be useful for simple calculations, I expect it would
simply get in the way and slow things down for larger, more complex
calculations.
Alas I don't think there's any
>>I'd like to see every number bundled with a "precision" attribute.
>That's not what I call a high-level language feature. People don't
>want to think about that, nor about machine-level precision issues.
>See REXX.
>In fact, I'd rather to see a painless and transparent int->float->bignum
>
>I'd like to see every number bundled with a "precision" attribute.
That's not what I call a high-level language feature. People don't
want to think about that, nor about machine-level precision issues.
See REXX.
In fact, I'd rather to see a painless and transparent int->float->bignum
autocon
At 12:57 PM 8/29/00 -0500, David L. Nicol wrote:
>I'd like to see every number bundled with a "precision" attribute. It's
>a holdover from when I was heavily into chemistry.
Some of the other RFCs on the list also appear to have been triggered the
same way.
Oh, wait...
:-)
--
Peter Scott
Pac
Steve Simmons wrote:
> IMHO the code
>
> $a = '3.14'; # from reading a file
> $b = '3.1400'; # from user input
> if ($a == $b) { ... }
>
> should see the two args being tested in numeric context, do the numeric
> casting, get floats, and do a floating compare. Durned if I know what
Steve Simmons wrote:
>
> IMHO the code
>
> $a = '3.14'; # from reading a file
> $b = '3.1400'; # from user input
> if ($a == $b) { ... }
>
> should see the two args being tested in numeric context, do the numeric
> casting, get floats, and do a floating compare. Durned if I know wh
I'd like to see eq and it's brethen retained, as dammit there are times
I want to know (-w) if numbers are turning up when there should be
words and vice-versa. However, spinning off of something Randal wrote:
> Yes, but what about:
>
> $a = '3.14'; # from reading a file
> $b =
> "Ed" == Ed Mills <[EMAIL PROTECTED]> writes:
Ed> Is eq needed? Can't == be used for either context?
Ed>$a == 'cat'
Ed> is readily distinguishable from
Ed>$a == 2;
Ed> so the compiler should be able to determine context.
Yes, but what about:
$a = '3.14'; # from reading a
On Sun, 20 Aug 2000 17:50:20 -0600 (MDT), Nathan Torkington wrote (in part):
Nat> Ed Mills writes:
>> Is eq needed? Can't == be used for either context? $a ==
>> 'cat' is readily distinguishable from $a == 2; so the compiler
>> should be able to determine context.
Nat> if ($a == $b)
Nat> Is th
Ed Mills writes:
> Is eq needed? Can't == be used for either context?
>$a == 'cat'
> is readily distinguishable from
>$a == 2;
> so the compiler should be able to determine context.
if ($a == $b)
Is that string comparison or numeric comparison?
Nat
16 matches
Mail list logo