At 11:16 PM -0600 5/23/02, Luke Palmer wrote:
> > >The rest of this message assumes that the answer to A is "run time error".
>>
>> I'm not sure that's correct. Might just be a runtime warning,
>
>I would assume not. How can we optimize if we just make it a warning?
It may be a warning in the s
On 22 May 2002 at 13:10, Luke Palmer wrote:
> Since this is a Perl 6 list, here's how you would do it in Perl 6 (unless
> there's a better way):
>
> sub myint($x) { my $i = int $x; $i == $x ? $x : $i }
Shouldn't that be
sub myint($x) { my $i = int $x; $i == $x ?? $x :: $i }
as ?: operator is
Luke Palmer <[EMAIL PROTECTED]> writes:
>> >The rest of this message assumes that the answer to A is "run time error".
>>
>> I'm not sure that's correct. Might just be a runtime warning,
>
> I would assume not. How can we optimize if we just make it a
> warning?
By only optimizing in the prese