Wenzel P. P. Peppmeyer
Wenzel P. P. Peppmeyer
``` my @a = ; my $c = class C { our sub foo(*@a) { @a }; method foo(*@a) { @a } }.new; @a ==> $c::foo() ==> say(); @a ==>...
This will allow `hyper` and `race` with feed operators. tests: ``` use v6.*; use Test; my @a = 1..10; my $b; @a ==> hyper() ==> grep(*.is-prime) ==> sum() ==> $b;...
``` # export-term.rakumod: unit module export-term; constant term: is export = 2 * pi; # main file: use export-term; say export-term::; 2pi; ``` ## OUTPUT: ``` Missing block at /home/dex/projects/raku/tmp/2021-03-08.raku:1624...
Consider the following code: ``` END { exit 0 } my atomicint $i; my @proms; for ^20 { @proms.push: start { exit ++⚛$i; } } await @proms; END { exit...
In https://docs.raku.org/language/contexts#Sink we do not mention that user defined dynvars, even when they are defined quite globally, will not show up in `method sink`. This can lead to had to...
The failing assertion¹ `` is specced in S05-mass/stdrules.t but missing in /language/regexes . Example: ``` my @texts = 'One should love peace.', 'One should break peace.', 'One should hate peace.';...
this would allow disambiguation files and lists to be shared between different renderers, greatly simplifying generation of portable and printable versions. p6doc may also benefit.
/type/Signature does not cover `:(:v($*VERBOSE))` which is speced in S06-signature/ntrospection.t . A hint in /language/create-cli#sub_MAIN may be useful too.
Signature objects are used in the ecosystem. To generate those at runtime one can EVAL a signature literal or call `Signature.new`. The latter is nowhere to be found in roast...
The following code works in Rakudo, is sensible but not tested. ``` enum E (A => "1"); my $v = "A"; put E::«$v»; $v = "b"; put E:: || "(Any)";...