We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From S03:
$string x $count … The count may not be * because Perl 6 does not support infinite strings. (At least, not yet...)
However, the implementation is different:
m: say 'test' x *; rakudo-moar ee36da: OUTPUT«WhateverCode.new» m: say ('test' x *)(5) rakudo-moar ee36da: OUTPUT«testtesttesttesttest»
m: say 'test' x *; rakudo-moar ee36da: OUTPUT«WhateverCode.new»
m: say ('test' x *)(5) rakudo-moar ee36da: OUTPUT«testtesttesttesttest»
And it seems like this behavior makes more sense. In other words, xx Inf is infinitite list, x Inf is an error, x * and xx * – currying.
xx Inf
x Inf
x *
xx *
Related rakudobug: https://rt.perl.org/Public/Bug/Display.html?id=125627
IRC log: http://irclog.perlgeek.de/perl6/2015-07-16#i_10908664
According to the IRC log people seem to like that.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From S03:
However, the implementation is different:
And it seems like this behavior makes more sense. In other words,
xx Inf
is infinitite list,x Inf
is an error,x *
andxx *
– currying.Related rakudobug: https://rt.perl.org/Public/Bug/Display.html?id=125627
IRC log: http://irclog.perlgeek.de/perl6/2015-07-16#i_10908664
According to the IRC log people seem to like that.
The text was updated successfully, but these errors were encountered: