Hello.
I mean, I need a way to concat lazy lists into a lazy list.
Thanks.
--
Hiroki Horiuchi from Japan
hs = shift @$range;
$$sum += $lhs;
goto &reduce_sum;
}
my @range = 0 .. 10;
my $sum = 0;
print reduce_sum \$sum, \@range;
--
Thanks.
--
Hiroki Horiuchi from Japan
Hello.
Is there something like Perl 5's `stdout_is` in Perl 6?
If not, can it be implemented using NativeCall?
I am using Darwin.
Thank you.
--
Hiroki Horiuchi from Japan
Hello.
Malformed UTF-8 string
in 'IO::getc' at line 5457:CORE.setting
It was a bug of rakudo-star-2010.11.
recent copy of rakudo (8f10c4b94ea6) is free of this problem.
Regards,
Hiroki Horiuchi
problem?
Thank you.
--
Hiroki Horiuchi
problem?
Thank you.
--
Hiroki Horiuchi
Hello.
I asked the same question to #perl6.
But now I think it was a wrong place.
My question is:
In current Rakudo,
my Int $i = '123';
causes a runtime error, not a compile time error.
How about in future Perl 6?
--
Hiroki Horiuchi